Package org.apache.cayenne.dba
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.
-
ClassDescriptionA 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.A Cayenne extension point that abstracts the differences between specifics of JDBC interfaces to various databases.A factory of default SQLActions.A generic DbAdapter implementation.Default primary key generator implementation.An injectable provider that returns a given service in a context of a specific
DbAdapter
.Defines methods to support automatic primary key generation.TypesHandler provides JDBC-RDBMS types mapping.A utility class that handles mappings of JDBC data types to the database types and Java types.