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