# Uses of Interface
org.apache.cayenne.dba.DbAdapter

Packages that use DbAdapter
Package
Description
org.apache.cayenne.access
Contains classes that make up Cayenne ORM stack.
org.apache.cayenne.access.jdbc
Contains classes that handle JDBC interactions.
org.apache.cayenne.access.jdbc.reader
org.apache.cayenne.access.sqlbuilder
org.apache.cayenne.access.translator.batch
org.apache.cayenne.access.translator.batch.legacy
org.apache.cayenne.access.translator.procedure
org.apache.cayenne.access.translator.select
org.apache.cayenne.configuration.runtime
org.apache.cayenne.dba
Contains database adapter API (DbAdapter) and its default implementation.
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.

- ## Uses of DbAdapter in org.apache.cayenne.access

  Fields in org.apache.cayenne.access declared as DbAdapter
  Modifier and Type
  Field
  Description
  `protected DbAdapter`
  DataNode.`adapter`
  `protected DbAdapter`
  DbGenerator.`adapter`
  Methods in org.apache.cayenne.access that return DbAdapter
  Modifier and Type
  Method
  Description
  `DbAdapter`
  DataNode.`getAdapter()`
  Returns DbAdapter object.
  `DbAdapter`
  DbGenerator.`getAdapter()`
  Returns DbAdapter associated with this DbGenerator.
  Methods in org.apache.cayenne.access with parameters of type DbAdapter
  Modifier and Type
  Method
  Description
  `void`
  DataNode.`setAdapter(DbAdapter adapter)`
  Constructors in org.apache.cayenne.access with parameters of type DbAdapter
  Modifier
  Constructor
  Description
  ``
  `DbGenerator(DbAdapter adapter, DataMap map, Collection<DbEntity> excludedEntities, DataDomain domain, JdbcEventLogger logger)`
  Creates and initializes new DbGenerator instance.
  ``
  `DbGenerator(DbAdapter adapter, DataMap map, JdbcEventLogger logger)`
  ``
  `DbGenerator(DbAdapter adapter, DataMap map, JdbcEventLogger logger, Collection<DbEntity> excludedEntities)`

- ## Uses of DbAdapter in org.apache.cayenne.access.jdbc

  Fields in org.apache.cayenne.access.jdbc declared as DbAdapter
  Modifier and Type
  Field
  Description
  `protected DbAdapter`
  SQLTemplateAction.`dbAdapter`
  Methods in org.apache.cayenne.access.jdbc that return DbAdapter
  Modifier and Type
  Method
  Description
  `DbAdapter`
  SQLTemplateAction.`getAdapter()`
  Returns unwrapped DbAdapter used to find correct SQL for a given DB.
  Methods in org.apache.cayenne.access.jdbc with parameters of type DbAdapter
  Modifier and Type
  Method
  Description
  `protected PreparedStatement`
  BatchAction.`prepareStatement(Connection connection, String queryStr, DbAdapter adapter, boolean generatedKeys)`

- ## Uses of DbAdapter in org.apache.cayenne.access.jdbc.reader

  Methods in org.apache.cayenne.access.jdbc.reader with parameters of type DbAdapter
  Modifier and Type
  Method
  Description
  `RowReader<?>`
  DefaultRowReaderFactory.`rowReader(RowDescriptor descriptor, QueryMetadata queryMetadata, DbAdapter adapter, Map<ObjAttribute,ColumnDescriptor> attributeOverrides)`
  `RowReader<?>`
  RowReaderFactory.`rowReader(RowDescriptor descriptor, QueryMetadata queryMetadata, DbAdapter adapter, Map<ObjAttribute,ColumnDescriptor> attributeOverrides)`

- ## Uses of DbAdapter in org.apache.cayenne.access.sqlbuilder

  Methods in org.apache.cayenne.access.sqlbuilder that return DbAdapter
  Modifier and Type
  Method
  Description
  `DbAdapter`
  SQLGenerationContext.`getAdapter()`

- ## Uses of DbAdapter in org.apache.cayenne.access.translator.batch

  Methods in org.apache.cayenne.access.translator.batch with parameters of type DbAdapter
  Modifier and Type
  Method
  Description
  `protected BatchTranslator`
  DefaultBatchTranslatorFactory.`deleteTranslator(DeleteBatchQuery query, DbAdapter adapter)`
  `protected BatchTranslator`
  SoftDeleteTranslatorFactory.`deleteTranslator(DeleteBatchQuery query, DbAdapter adapter)`
  `protected BatchTranslator`
  DefaultBatchTranslatorFactory.`insertTranslator(InsertBatchQuery query, DbAdapter adapter)`
  `BatchTranslator`
  BatchTranslatorFactory.`translator(BatchQuery query, DbAdapter adapter, String trimFunction)`
  Creates a proper translator for a BatchQuery
  `BatchTranslator`
  DefaultBatchTranslatorFactory.`translator(BatchQuery query, DbAdapter adapter, String trimFunction)`
  `protected BatchTranslator`
  DefaultBatchTranslatorFactory.`updateTranslator(UpdateBatchQuery query, DbAdapter adapter)`
  Constructors in org.apache.cayenne.access.translator.batch with parameters of type DbAdapter
  Modifier
  Constructor
  Description
  ``
  `BaseBatchTranslator(T query, DbAdapter adapter)`
  ``
  `DeleteBatchTranslator(DeleteBatchQuery query, DbAdapter adapter)`
  ``
  `InsertBatchTranslator(InsertBatchQuery query, DbAdapter adapter)`
  ``
  `SoftDeleteBatchTranslator(DeleteBatchQuery query, DbAdapter adapter, String deletedFieldName)`
  ``
  `UpdateBatchTranslator(UpdateBatchQuery query, DbAdapter adapter)`

- ## Uses of DbAdapter in org.apache.cayenne.access.translator.batch.legacy

  Fields in org.apache.cayenne.access.translator.batch.legacy declared as DbAdapter
  Modifier and Type
  Field
  Description
  `protected DbAdapter`
  DefaultBatchTranslator.`adapter`
  Deprecated.
  Constructors in org.apache.cayenne.access.translator.batch.legacy with parameters of type DbAdapter
  Modifier
  Constructor
  Description
  ``
  `DefaultBatchTranslator(BatchQuery query, DbAdapter adapter, String trimFunction)`
  Deprecated.

- ## Uses of DbAdapter in org.apache.cayenne.access.translator.procedure

  Fields in org.apache.cayenne.access.translator.procedure declared as DbAdapter
  Modifier and Type
  Field
  Description
  `protected DbAdapter`
  ProcedureTranslator.`adapter`
  Methods in org.apache.cayenne.access.translator.procedure with parameters of type DbAdapter
  Modifier and Type
  Method
  Description
  `void`
  ProcedureTranslator.`setAdapter(DbAdapter adapter)`

- ## Uses of DbAdapter in org.apache.cayenne.access.translator.select

  Methods in org.apache.cayenne.access.translator.select that return DbAdapter
  Modifier and Type
  Method
  Description
  `DbAdapter`
  TranslatorContext.`getAdapter()`
  Methods in org.apache.cayenne.access.translator.select with parameters of type DbAdapter
  Modifier and Type
  Method
  Description
  `SelectTranslator`
  DefaultSelectTranslatorFactory.`translator(Select<?> query, DbAdapter adapter, EntityResolver entityResolver)`
  `SelectTranslator`
  SelectTranslatorFactory.`translator(Select<?> query, DbAdapter adapter, EntityResolver entityResolver)`
  Creates a proper translator for a BatchQuery
  Constructors in org.apache.cayenne.access.translator.select with parameters of type DbAdapter
  Modifier
  Constructor
  Description
  ``
  `DefaultSelectTranslator(FluentSelect<?,?> query, DbAdapter adapter, EntityResolver entityResolver)`

- ## Uses of DbAdapter in org.apache.cayenne.configuration.runtime

  Methods in org.apache.cayenne.configuration.runtime that return DbAdapter
  Modifier and Type
  Method
  Description
  `DbAdapter`
  DbAdapterDetector.`createAdapter(DatabaseMetaData md)`
  Returns an instance of DbAdapter if the factory detects that it knows how to handle the database or null if the database is not known to the factory, thus allowing multiple factories to be chained.
  `DbAdapter`
  DbAdapterFactory.`createAdapter(DataNodeDescriptor nodeDescriptor, DataSource dataSource)`
  Returns an instance of DbAdapter if the factory detects that it knows how to handle the database.
  `DbAdapter`
  DefaultDbAdapterFactory.`createAdapter(DataNodeDescriptor nodeDescriptor, DataSource dataSource)`
  `protected DbAdapter`
  DefaultDbAdapterFactory.`defaultAdapter()`
  `protected DbAdapter`
  DefaultDbAdapterFactory.`detectAdapter(DatabaseMetaData metaData)`
  `protected DbAdapter`
  DefaultDbAdapterFactory.`detectAdapter(DataSource dataSource)`
  `protected DbAdapter`
  DefaultDbAdapterFactory.`setupPkGenerator(DbAdapter dbAdapter)`
  Setup PK generator for the adapter
  Methods in org.apache.cayenne.configuration.runtime with parameters of type DbAdapter
  Modifier and Type
  Method
  Description
  `protected DbAdapter`
  DefaultDbAdapterFactory.`setupPkGenerator(DbAdapter dbAdapter)`
  Setup PK generator for the adapter
  Method parameters in org.apache.cayenne.configuration.runtime with type arguments of type DbAdapter
  Modifier and Type
  Method
  Description
  `CoreModuleExtender`
  CoreModuleExtender.`addPkGenerator(Class<? extends DbAdapter> adapter, Class<? extends PkGenerator> pkGeneratorType)`
  Adds a custom PK generator per DbAdapter
  `CoreModuleExtender`
  CoreModuleExtender.`addPkGenerator(Class<? extends DbAdapter> adapter, PkGenerator pkGenerator)`
  Adds a custom PK generator per DbAdapter

- ## Uses of DbAdapter in org.apache.cayenne.dba

  Classes in org.apache.cayenne.dba that implement DbAdapter
  Modifier and Type
  Class
  Description
  `class`
  `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.
  `class`
  `JdbcAdapter`
  A generic DbAdapter implementation.
  Fields in org.apache.cayenne.dba with type parameters of type DbAdapter
  Modifier and Type
  Field
  Description
  `protected Provider<DbAdapter>`
  AutoAdapter.`adapterProvider`
  Methods in org.apache.cayenne.dba that return DbAdapter
  Modifier and Type
  Method
  Description
  `protected DbAdapter`
  AutoAdapter.`getAdapter()`
  Returns a proxied DbAdapter, lazily creating it on first invocation.
  `DbAdapter`
  PkGenerator.`getAdapter()`
  Get an adapter associated with current PkGenerator
  `protected DbAdapter`
  AutoAdapter.`loadAdapter()`
  Loads underlying DbAdapter delegate.
  `DbAdapter`
  AutoAdapter.`unwrap()`
  `DbAdapter`
  DbAdapter.`unwrap()`
  Allows the users to get access to the adapter decorated by a given adapter.
  `DbAdapter`
  JdbcAdapter.`unwrap()`
  Simply returns this, as JdbcAdapter is not a wrapper.
  Methods in org.apache.cayenne.dba with parameters of type DbAdapter
  Modifier and Type
  Method
  Description
  `T`
  PerAdapterProvider.`get(DbAdapter adapter)`
  `static String`
  JdbcAdapter.`getType(DbAdapter adapter, DbAttribute column)`
  `void`
  JdbcPkGenerator.`setAdapter(DbAdapter adapter)`
  `void`
  PkGenerator.`setAdapter(DbAdapter q)`
  Install the adapter associated with current PkGenerator
  `static String`
  JdbcAdapter.`sizeAndPrecision(DbAdapter adapter, DbAttribute column)`
  Constructor parameters in org.apache.cayenne.dba with type arguments of type DbAdapter
  Modifier
  Constructor
  Description
  ``
  `AutoAdapter(Provider<DbAdapter> adapterProvider, JdbcEventLogger logger)`
  Creates an `AutoAdapter` based on a delegate adapter obtained via "adapterProvider".

- ## Uses of DbAdapter in org.apache.cayenne.dba.db2

  Classes in org.apache.cayenne.dba.db2 that implement DbAdapter
  Modifier and Type
  Class
  Description
  `class`
  `DB2Adapter`
  DbAdapter implementation for the DB2 RDBMS .
  Methods in org.apache.cayenne.dba.db2 that return DbAdapter
  Modifier and Type
  Method
  Description
  `DbAdapter`
  DB2Sniffer.`createAdapter(DatabaseMetaData md)`

- ## Uses of DbAdapter in org.apache.cayenne.dba.derby

  Classes in org.apache.cayenne.dba.derby that implement DbAdapter
  Modifier and Type
  Class
  Description
  `class`
  `DerbyAdapter`
  DbAdapter implementation for the Derby RDBMS .
  Methods in org.apache.cayenne.dba.derby that return DbAdapter
  Modifier and Type
  Method
  Description
  `DbAdapter`
  DerbySniffer.`createAdapter(DatabaseMetaData md)`

- ## Uses of DbAdapter in org.apache.cayenne.dba.firebird

  Classes in org.apache.cayenne.dba.firebird that implement DbAdapter
  Modifier and Type
  Class
  Description
  `class`
  `FirebirdAdapter`
  DbAdapter implementation for FirebirdSQL RDBMS .
  Methods in org.apache.cayenne.dba.firebird that return DbAdapter
  Modifier and Type
  Method
  Description
  `DbAdapter`
  FirebirdSniffer.`createAdapter(DatabaseMetaData md)`

- ## Uses of DbAdapter in org.apache.cayenne.dba.frontbase

  Classes in org.apache.cayenne.dba.frontbase that implement DbAdapter
  Modifier and Type
  Class
  Description
  `class`
  `FrontBaseAdapter`
  DbAdapter implementation for FrontBase RDBMS.
  Methods in org.apache.cayenne.dba.frontbase that return DbAdapter
  Modifier and Type
  Method
  Description
  `DbAdapter`
  FrontBaseSniffer.`createAdapter(DatabaseMetaData md)`

- ## Uses of DbAdapter in org.apache.cayenne.dba.h2

  Classes in org.apache.cayenne.dba.h2 that implement DbAdapter
  Modifier and Type
  Class
  Description
  `class`
  `H2Adapter`
  DbAdapter implementation for H2 RDBMS .
  Methods in org.apache.cayenne.dba.h2 that return DbAdapter
  Modifier and Type
  Method
  Description
  `DbAdapter`
  H2Sniffer.`createAdapter(DatabaseMetaData md)`

- ## Uses of DbAdapter in org.apache.cayenne.dba.hsqldb

  Classes in org.apache.cayenne.dba.hsqldb that implement DbAdapter
  Modifier and Type
  Class
  Description
  `class`
  `HSQLDBAdapter`
  DbAdapter implementation for the HSQLDB RDBMS .
  `class`
  `HSQLDBNoSchemaAdapter`
  A flavor of HSQLDBAdapter that implements workarounds for some old driver limitations.
  Methods in org.apache.cayenne.dba.hsqldb that return DbAdapter
  Modifier and Type
  Method
  Description
  `DbAdapter`
  HSQLDBSniffer.`createAdapter(DatabaseMetaData md)`

- ## Uses of DbAdapter in org.apache.cayenne.dba.ingres

  Classes in org.apache.cayenne.dba.ingres that implement DbAdapter
  Modifier and Type
  Class
  Description
  `class`
  `IngresAdapter`
  DbAdapter implementation for Ingres.
  Methods in org.apache.cayenne.dba.ingres that return DbAdapter
  Modifier and Type
  Method
  Description
  `DbAdapter`
  IngresSniffer.`createAdapter(DatabaseMetaData md)`

- ## Uses of DbAdapter in org.apache.cayenne.dba.mariadb

  Methods in org.apache.cayenne.dba.mariadb that return DbAdapter
  Modifier and Type
  Method
  Description
  `DbAdapter`
  MariaDBSniffer.`createAdapter(DatabaseMetaData md)`

- ## Uses of DbAdapter in org.apache.cayenne.dba.mysql

  Classes in org.apache.cayenne.dba.mysql that implement DbAdapter
  Modifier and Type
  Class
  Description
  `class`
  `MySQLAdapter`
  DbAdapter implementation for MySQL RDBMS.
  Methods in org.apache.cayenne.dba.mysql that return DbAdapter
  Modifier and Type
  Method
  Description
  `DbAdapter`
  MySQLSniffer.`createAdapter(DatabaseMetaData md)`

- ## Uses of DbAdapter in org.apache.cayenne.dba.oracle

  Classes in org.apache.cayenne.dba.oracle that implement DbAdapter
  Modifier and Type
  Class
  Description
  `class`
  `Oracle8Adapter`
  A flavor of OracleAdapter that implements workarounds for some old driver limitations.
  `class`
  `OracleAdapter`
  DbAdapter implementation for Oracle RDBMS .
  Methods in org.apache.cayenne.dba.oracle that return DbAdapter
  Modifier and Type
  Method
  Description
  `DbAdapter`
  OracleSniffer.`createAdapter(DatabaseMetaData md)`

- ## Uses of DbAdapter in org.apache.cayenne.dba.postgres

  Classes in org.apache.cayenne.dba.postgres that implement DbAdapter
  Modifier and Type
  Class
  Description
  `class`
  `PostgresAdapter`
  DbAdapter implementation for PostgreSQL RDBMS .
  Methods in org.apache.cayenne.dba.postgres that return DbAdapter
  Modifier and Type
  Method
  Description
  `DbAdapter`
  PostgresSniffer.`createAdapter(DatabaseMetaData md)`
  Methods in org.apache.cayenne.dba.postgres with parameters of type DbAdapter
  Modifier and Type
  Method
  Description
  `protected PreparedStatement`
  PostgresBatchAction.`prepareStatement(Connection connection, String queryStr, DbAdapter adapter, boolean generatedKeys)`

- ## Uses of DbAdapter in org.apache.cayenne.dba.sqlite

  Classes in org.apache.cayenne.dba.sqlite that implement DbAdapter
  Modifier and Type
  Class
  Description
  `class`
  `SQLiteAdapter`
  A SQLite database adapter that works with Zentus JDBC driver.
  Methods in org.apache.cayenne.dba.sqlite that return DbAdapter
  Modifier and Type
  Method
  Description
  `DbAdapter`
  SQLiteSniffer.`createAdapter(DatabaseMetaData md)`

- ## Uses of DbAdapter in org.apache.cayenne.dba.sqlserver

  Classes in org.apache.cayenne.dba.sqlserver that implement DbAdapter
  Modifier and Type
  Class
  Description
  `class`
  `SQLServerAdapter`
  Cayenne DbAdapter implementation for Microsoft SQL Server engine.
  Methods in org.apache.cayenne.dba.sqlserver that return DbAdapter
  Modifier and Type
  Method
  Description
  `DbAdapter`
  SQLServerSniffer.`createAdapter(DatabaseMetaData md)`

- ## Uses of DbAdapter in org.apache.cayenne.dba.sybase

  Classes in org.apache.cayenne.dba.sybase that implement DbAdapter
  Modifier and Type
  Class
  Description
  `class`
  `SybaseAdapter`
  DbAdapter implementation for Sybase RDBMS.
  Methods in org.apache.cayenne.dba.sybase that return DbAdapter
  Modifier and Type
  Method
  Description
  `DbAdapter`
  SybaseSniffer.`createAdapter(DatabaseMetaData md)`