public class FirebirdSniffer extends Object implements DbAdapterDetector
Modifier and Type | Field and Description |
---|---|
protected AdhocObjectFactory |
objectFactory |
Constructor and Description |
---|
FirebirdSniffer(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 FirebirdSniffer(AdhocObjectFactory objectFactory)
public DbAdapter createAdapter(DatabaseMetaData md) throws SQLException
DbAdapterDetector
createAdapter
in interface DbAdapterDetector
SQLException
Copyright © 2001–2017 Apache Cayenne. All rights reserved.