# 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
org.apache.cayenne.access.translator.batch
org.apache.cayenne.access.translator.ejbql
org.apache.cayenne.access.translator.procedure
org.apache.cayenne.access.translator.select
org.apache.cayenne.access.translator.sqltemplate
org.apache.cayenne.configuration
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, SQLLogger logger)`
  Creates and initializes new DbGenerator instance.
  ``
  `DbGenerator(DbAdapter adapter, DataMap map, SQLLogger logger)`
  ``
  `DbGenerator(DbAdapter adapter, DataMap map, SQLLogger 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(RSColumn[] columns, QueryMetadata metadata, DbAdapter adapter)`
  `RowReader<?>`
  RowReaderFactory.`rowReader(RSColumn[] columns, QueryMetadata queryMetadata, DbAdapter adapter)`

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

  Methods in org.apache.cayenne.access.translator with parameters of type DbAdapter
  Modifier and Type
  Method
  Description
  `TranslatedBatch`
  BatchTranslator.`translate(T query, DbAdapter adapter)`
  Translates the provided batch query into an immutable `TranslatedBatch`.
  `TranslatedProcedure`
  ProcedureTranslator.`translate(ProcedureQuery query, DbAdapter adapter, EntityResolver resolver)`
  Translates the provided query into a `TranslatedProcedure`.
  `TranslatedSelect`
  SelectTranslator.`translate(Select<?> query, DbAdapter adapter, EntityResolver resolver)`
  Translates the provided query into a `TranslatedSelect`.
  `TranslatedSQL`
  SQLTemplateTranslator.`translate(String template, List<Object> positionalParameters, DbAdapter adapter)`
  Builds and returns a SQLStatement based on SQL template String and a list of positional parameters.
  `TranslatedSQL`
  SQLTemplateTranslator.`translate(String template, Map<String,?> parameters, DbAdapter adapter)`
  Builds and returns a SQLStatement based on SQL template String and a map of parameters.

- ## 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
  `TranslatedBatch`
  BaseBatchTranslator.`translate(T query, DbAdapter adapter)`

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

  Constructors in org.apache.cayenne.access.translator.ejbql with parameters of type DbAdapter
  Modifier
  Constructor
  Description
  ``
  `EJBQLTranslationContext(EntityResolver entityResolver, EJBQLQuery query, EJBQLCompiledExpression compiledExpression, EJBQLTranslator translator, DbAdapter adapter, QuotingStrategy quotingStrategy)`

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

  Methods in org.apache.cayenne.access.translator.procedure with parameters of type DbAdapter
  Modifier and Type
  Method
  Description
  `protected CSParameter<?>`
  DefaultProcedureTranslator.`createBinding(DbAdapter adapter, ProcedureParameter param, Map<String,?> queryValues, int position)`
  Builds a `CSParameter` for a single call parameter.
  `TranslatedProcedure`
  DbAdapterDelegatedProcedureTranslator.`translate(ProcedureQuery query, DbAdapter adapter, EntityResolver resolver)`
  `TranslatedProcedure`
  DefaultProcedureTranslator.`translate(ProcedureQuery query, DbAdapter adapter, EntityResolver resolver)`

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

  Methods in org.apache.cayenne.access.translator.select with parameters of type DbAdapter
  Modifier and Type
  Method
  Description
  `TranslatedSelect`
  DbAdapterDelegatedSelectTranslator.`translate(Select<?> query, DbAdapter adapter, EntityResolver resolver)`
  `TranslatedSelect`
  DefaultSelectTranslator.`translate(Select<?> query, DbAdapter adapter, EntityResolver resolver)`

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

  Methods in org.apache.cayenne.access.translator.sqltemplate with parameters of type DbAdapter
  Modifier and Type
  Method
  Description
  `Context`
  DefaultTemplateContextFactory.`createContext(Map<String,?> parameters, boolean positionalMode, DbAdapter adapter)`
  `Context`
  TemplateContextFactory.`createContext(Map<String,?> parameters, boolean positionalMode, DbAdapter adapter)`
  `default Context`
  TemplateContextFactory.`createContext(Map<String,?> parameters, DbAdapter adapter)`
  `TranslatedSQL`
  DefaultSQLTemplateTranslator.`translate(String template, List<Object> positionalParameters, DbAdapter adapter)`
  `TranslatedSQL`
  DefaultSQLTemplateTranslator.`translate(String template, Map<String,?> parameters, DbAdapter adapter)`
  Constructors in org.apache.cayenne.access.translator.sqltemplate with parameters of type DbAdapter
  Modifier
  Constructor
  Description
  ``
  `Context(Map<String, Directive> directives, Map<String,?> parameters, boolean positionalMode, DbAdapter adapter)`

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

  Methods in org.apache.cayenne.configuration that return types with arguments of type DbAdapter
  Modifier and Type
  Method
  Description
  `Class<? extends DbAdapter>`
  DataNodeDescriptor.`adapterType()`
  Returns the value of the `adapterType` record component.
  Method parameters in org.apache.cayenne.configuration with type arguments of type DbAdapter
  Modifier and Type
  Method
  Description
  `DataNodeDescriptor.Builder`
  DataNodeDescriptor.Builder.`adapter(Class<? extends DbAdapter> adapterType)`
  Constructor parameters in org.apache.cayenne.configuration with type arguments of type DbAdapter
  Modifier
  Constructor
  Description
  ``
  `DataNodeDescriptor(String name, DataSource dataSource, Class<? extends DbAdapter> adapterType, Class<? extends SchemaUpdateStrategy> schemaUpdateStrategyType)`
  Creates an instance of a `DataNodeDescriptor` record class.

- ## 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.
  `protected DbAdapter`
  DefaultDataNodeFactory.`createDbAdapter(Class<? extends DbAdapter> type, DataSource dataSource)`
  Method parameters in org.apache.cayenne.configuration.runtime with type arguments of type DbAdapter
  Modifier and Type
  Method
  Description
  `protected DbAdapter`
  DefaultDataNodeFactory.`createDbAdapter(Class<? extends DbAdapter> type, DataSource dataSource)`

- ## 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.
  Methods in org.apache.cayenne.dba that return DbAdapter
  Modifier and Type
  Method
  Description
  `protected DbAdapter`
  AutoAdapter.`defaultAdapter()`
  `protected DbAdapter`
  AutoAdapter.`detectAdapter(DatabaseMetaData metaData)`
  `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)`
  Deprecated, for removal: This API element is subject to removal in a future version.
  `static String`
  JdbcAdapter.`getType(DbAdapter adapter, DbAttribute column)`
  Deprecated, for removal: This API element is subject to removal in a future version.
  in favor of `DbAdapter.preferredNativeColumnType(DbAttribute)`
  `static String`
  JdbcAdapter.`sizeAndPrecision(DbAdapter adapter, DbAttribute column)`
  Deprecated, for removal: This API element is subject to removal in a future version.
  in favor of `JdbcAdapter.sizeAndScale(DbAdapter, DbAttribute)`
  `static String`
  JdbcAdapter.`sizeAndScale(DbAdapter adapter, DbAttribute column)`

- ## 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 the 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.
  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 RDBMS.
  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`
  `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.
  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 RDBMS.
  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)`