|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cayenne.dba.mysql.MySQLSniffer
public class MySQLSniffer
Detects MySQL database from JDBC metadata.
Constructor Summary | |
---|---|
MySQLSniffer()
|
Method Summary | |
---|---|
DbAdapter |
createAdapter(java.sql.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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MySQLSniffer()
Method Detail |
---|
public DbAdapter createAdapter(java.sql.DatabaseMetaData md) throws java.sql.SQLException
DbAdapterDetector
createAdapter
in interface DbAdapterDetector
createAdapter
in interface DbAdapterFactory
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |