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.An
QuotingStrategythat wraps identifiers in a pair of (possibly distinct) start/end quote characters.A factory of default SQLActions.A generic DbAdapter implementation.Default primary key generator implementation.Describes a single database-native (external) SQL type that a JDBC type (seeTypes) maps to.Deprecated, for removal: This API element is subject to removal in a future version.unused, it is trivial to create per-adapter classes without the common superclassDefines methods to support automatic primary key generation.Encapsulates a database-specific SQL identifier quoting style (the start and end quote characters).A common superclass for sequence-based primary key generators.A utility class that handles mappings of JDBC data types to the database types and Java types.