Package org.apache.cayenne.dba
Contains database adapter API (DbAdapter) and its default implementation.
DbAdapter interface and related classes solve cross-database issues inherent to JDBC.
-
Interface Summary Interface Description DbAdapter A Cayenne extension point that abstracts the differences between specifics of JDBC interfaces to various databases.PkGenerator Defines methods to support automatic primary key generation.QuotingStrategy -
Class Summary Class Description AutoAdapter A DbAdapter that automatically detects the kind of database it is running on and instantiates an appropriate DB-specific adapter, delegating all subsequent method calls to this adapter.DefaultQuotingStrategy JdbcActionBuilder A factory of default SQLActions.JdbcAdapter A generic DbAdapter implementation.JdbcPkGenerator Default primary key generator implementation.PerAdapterProvider<T> An injectable provider that returns a given service in a context of a specificDbAdapter
.TypesHandler TypesHandler provides JDBC-RDBMS types mapping.TypesMapping A utility class that handles mappings of JDBC data types to the database types and Java types.