|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cayenne.dba.derby.DerbySniffer
public class DerbySniffer
Creates a DerbyAdapter if Apache Derby database is detected.
Constructor Summary | |
---|---|
DerbySniffer()
|
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 DerbySniffer()
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 |