Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cayenne.configuration.server
Interface DbAdapterDetector

All Known Implementing Classes:
  DB2Sniffer, DerbySniffer, FrontBaseSniffer, H2Sniffer, HSQLDBSniffer, IngresSniffer, MySQLSniffer, OpenBaseSniffer, OracleSniffer, PostgresSniffer, SQLiteSniffer, SQLServerSniffer, SybaseSniffer

    public interface DbAdapterDetector

A factory interface providing DbAdapter based on JDBC metadata. It allows custom DbAdapters to contribute database detection algorithms to `DefaultDbAdapterFactory`.

Since:
  3.1

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.

Method Detail

### createAdapter

    DbAdapter createAdapter(java.sql.DatabaseMetaData md)
                            throws java.sql.SQLException

  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.

  Throws:
    `java.sql.SQLException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2012 Apache Cayenne. All Rights Reserved.