# 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
  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 specific `DbAdapter`.
  PkGenerator
  Defines methods to support automatic primary key generation.
  QuotingStrategy
  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.