|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cayenne.dba.openbase.OpenBaseSniffer
public class OpenBaseSniffer
Detects OpenBase DB from JDBC metadata.
Field Summary | |
---|---|
protected AdhocObjectFactory |
objectFactory
|
Constructor Summary | |
---|---|
OpenBaseSniffer(AdhocObjectFactory objectFactory)
|
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 |
Field Detail |
---|
protected AdhocObjectFactory objectFactory
Constructor Detail |
---|
public OpenBaseSniffer(AdhocObjectFactory objectFactory)
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 |