public class OracleSniffer extends Object implements DbAdapterDetector
Modifier and Type | Field and Description |
---|---|
protected AdhocObjectFactory |
objectFactory |
Constructor and Description |
---|
OracleSniffer(AdhocObjectFactory objectFactory) |
Modifier and Type | Method and Description |
---|---|
DbAdapter |
createAdapter(DatabaseMetaData md)
Returns an instance of DbAdapter if the factory detects that it knows how to handle
the database or null if the database is not known to the factory, thus allowing
multiple factories to be chained.
|
protected AdhocObjectFactory objectFactory
public OracleSniffer(AdhocObjectFactory objectFactory)
public DbAdapter createAdapter(DatabaseMetaData md) throws SQLException
DbAdapterDetector
createAdapter
in interface DbAdapterDetector
SQLException
Copyright © 2001–2015 Apache Cayenne. All rights reserved.