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