Package org.apache.cayenne.dba.sqlite
Class SQLiteSniffer
java.lang.Object
org.apache.cayenne.dba.sqlite.SQLiteSniffer
- All Implemented Interfaces:
DbAdapterDetector
Detects SQLite database from JDBC metadata.
- Since:
- 3.0
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns 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.
-
Field Details
-
objectFactory
-
-
Constructor Details
-
SQLiteSniffer
-
-
Method Details
-
createAdapter
Description copied from interface:DbAdapterDetector
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.- Specified by:
createAdapter
in interfaceDbAdapterDetector
- Throws:
SQLException
-