# 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.

- Related Packages
  Package
  Description
  org.apache.cayenne
  Contains persistence APIs directly accessible by users.
  org.apache.cayenne.dba.db2
  IBM DB2 DbAdapter.
  org.apache.cayenne.dba.derby
  Apache Derby DbAdapter.
  org.apache.cayenne.dba.firebird
  org.apache.cayenne.dba.frontbase
  FrontBase DbAdapter.
  org.apache.cayenne.dba.h2
  org.apache.cayenne.dba.hsqldb
  HSQLDB DbAdapter.
  org.apache.cayenne.dba.ingres
  org.apache.cayenne.dba.mariadb
  org.apache.cayenne.dba.mysql
  MySQL DbAdapter.
  org.apache.cayenne.dba.oracle
  Oracle DbAdapter.
  org.apache.cayenne.dba.postgres
  PostgreSQL DbAdapter.
  org.apache.cayenne.dba.sqlite
  org.apache.cayenne.dba.sqlserver
  MS SQLServer DbAdapter.
  org.apache.cayenne.dba.sybase
  Sybase DbAdapter.
- 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.
  DbAdapter
  A Cayenne extension point that abstracts the differences between specifics of JDBC interfaces to various databases.
  DefaultQuotingStrategy
  An `QuotingStrategy` that wraps identifiers in a pair of (possibly distinct) start/end quote characters.
  JdbcActionBuilder
  A factory of default SQLActions.
  JdbcAdapter
  A generic DbAdapter implementation.
  JdbcPkGenerator
  Default primary key generator implementation.
  NativeColumnType
  Describes a single database-native (external) SQL type that a JDBC type (see `Types`) maps to.
  PerAdapterProvider<T>
  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 superclass
  PkGenerator
  Defines methods to support automatic primary key generation.
  QuotingStrategy
  Encapsulates a database-specific SQL identifier quoting style (the start and end quote characters).
  SequencePkGenerator
  A common superclass for sequence-based primary key generators.
  TypesMapping
  A utility class that handles mappings of JDBC data types to the database types and Java types.