| Modifier and Type | Field and Description | 
|---|---|
| protected DbAdapter | DataNode. adapter | 
| protected DbAdapter | DbGenerator. adapter | 
| Modifier and Type | Method and Description | 
|---|---|
| DbAdapter | DataNode. getAdapter()Returns DbAdapter object. | 
| DbAdapter | DbGenerator. getAdapter()Returns DbAdapter associated with this DbGenerator. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | DataNode. setAdapter(DbAdapter adapter) | 
| Constructor and 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) | 
| Modifier and Type | Field and Description | 
|---|---|
| protected DbAdapter | SQLTemplateAction. dbAdapter | 
| Modifier and Type | Method and Description | 
|---|---|
| DbAdapter | SQLTemplateAction. getAdapter()Returns unwrapped DbAdapter used to find correct SQL for a given DB. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected PreparedStatement | BatchAction. prepareStatement(Connection connection,
                String queryStr,
                DbAdapter adapter,
                boolean generatedKeys) | 
| Modifier and Type | Method and 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) | 
| Modifier and Type | Field and Description | 
|---|---|
| protected DbAdapter | DefaultBatchTranslator. adapter | 
| Modifier and Type | Method and Description | 
|---|---|
| protected BatchTranslator | DefaultBatchTranslatorFactory. deleteTranslator(DeleteBatchQuery query,
                DbAdapter adapter,
                String trimFunction) | 
| protected BatchTranslator | SoftDeleteTranslatorFactory. deleteTranslator(DeleteBatchQuery query,
                DbAdapter adapter,
                String trimFunction) | 
| 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,
                String trimFunction) | 
| Constructor and Description | 
|---|
| DefaultBatchTranslator(BatchQuery query,
                      DbAdapter adapter,
                      String trimFunction) | 
| DeleteBatchTranslator(DeleteBatchQuery query,
                     DbAdapter adapter,
                     String trimFunction) | 
| InsertBatchTranslator(InsertBatchQuery query,
                     DbAdapter adapter) | 
| SoftDeleteBatchTranslator(DeleteBatchQuery query,
                         DbAdapter adapter,
                         String trimFunction,
                         String deletedFieldName) | 
| UpdateBatchTranslator(UpdateBatchQuery query,
                     DbAdapter adapter,
                     String trimFunction) | 
| Modifier and Type | Field and Description | 
|---|---|
| protected DbAdapter | ProcedureTranslator. adapter | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ProcedureTranslator. setAdapter(DbAdapter adapter) | 
| Modifier and Type | Field and Description | 
|---|---|
| protected DbAdapter | QueryAssembler. adapter | 
| Modifier and Type | Method and Description | 
|---|---|
| DbAdapter | QueryAssembler. getAdapter() | 
| Modifier and Type | Method and Description | 
|---|---|
| SelectTranslator | DefaultSelectTranslatorFactory. translator(SelectQuery<?> query,
          DbAdapter adapter,
          EntityResolver entityResolver) | 
| SelectTranslator | SelectTranslatorFactory. translator(SelectQuery<?> query,
          DbAdapter adapter,
          EntityResolver entityResolver)Creates a proper translator for a BatchQuery | 
| Constructor and Description | 
|---|
| DefaultSelectTranslator(Query query,
                       DbAdapter adapter,
                       EntityResolver entityResolver) | 
| JoinStack(DbAdapter dbAdapter,
         QueryAssembler assembler) | 
| QueryAssembler(Query query,
              DbAdapter adapter,
              EntityResolver entityResolver) | 
| Modifier and Type | Method and 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) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AutoAdapterA 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  | JdbcAdapterA generic DbAdapter implementation. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Provider<DbAdapter> | AutoAdapter. adapterProvider | 
| Modifier and Type | Method and Description | 
|---|---|
| protected DbAdapter | AutoAdapter. getAdapter()Returns a proxied DbAdapter, lazily creating it on first invocation. | 
| 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| T | PerAdapterProvider. get(DbAdapter adapter) | 
| static String | JdbcAdapter. getType(DbAdapter adapter,
       DbAttribute column) | 
| static String | JdbcAdapter. sizeAndPrecision(DbAdapter adapter,
                DbAttribute column) | 
| Constructor and Description | 
|---|
| AutoAdapter(Provider<DbAdapter> adapterProvider,
           JdbcEventLogger logger)Creates an  AutoAdapterbased on a delegate adapter obtained via
 "adapterProvider". | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DB2AdapterDbAdapter implementation for the  DB2 RDBMS . | 
| Modifier and Type | Method and Description | 
|---|---|
| DbAdapter | DB2Sniffer. createAdapter(DatabaseMetaData md) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DerbyAdapterDbAdapter implementation for the  Derby RDBMS
 . | 
| Modifier and Type | Method and Description | 
|---|---|
| DbAdapter | DerbySniffer. createAdapter(DatabaseMetaData md) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | FirebirdAdapterDbAdapter implementation for FirebirdSQL
 RDBMS . | 
| Modifier and Type | Method and Description | 
|---|---|
| DbAdapter | FirebirdSniffer. createAdapter(DatabaseMetaData md) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | FrontBaseAdapterDbAdapter implementation for FrontBase
 RDBMS. | 
| Modifier and Type | Method and Description | 
|---|---|
| DbAdapter | FrontBaseSniffer. createAdapter(DatabaseMetaData md) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | H2AdapterDbAdapter implementation for H2
 RDBMS . | 
| Modifier and Type | Method and Description | 
|---|---|
| DbAdapter | H2Sniffer. createAdapter(DatabaseMetaData md) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | HSQLDBAdapterDbAdapter implementation for the 
 HSQLDB RDBMS . | 
| class  | HSQLDBNoSchemaAdapterA flavor of HSQLDBAdapter that implements workarounds for some old driver limitations. | 
| Modifier and Type | Method and Description | 
|---|---|
| DbAdapter | HSQLDBSniffer. createAdapter(DatabaseMetaData md) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | IngresAdapterDbAdapter implementation for Ingres. | 
| Modifier and Type | Method and Description | 
|---|---|
| DbAdapter | IngresSniffer. createAdapter(DatabaseMetaData md) | 
| Constructor and Description | 
|---|
| IngresSelectTranslator(Query query,
                      DbAdapter adapter,
                      EntityResolver entityResolver) | 
| Modifier and Type | Method and Description | 
|---|---|
| DbAdapter | MariaDBSniffer. createAdapter(DatabaseMetaData md) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | MySQLAdapterDbAdapter implementation for MySQL RDBMS. | 
| Modifier and Type | Method and Description | 
|---|---|
| DbAdapter | MySQLSniffer. createAdapter(DatabaseMetaData md) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | OpenBaseAdapterDbAdapter implementation for OpenBase. | 
| Modifier and Type | Method and Description | 
|---|---|
| DbAdapter | OpenBaseSniffer. createAdapter(DatabaseMetaData md) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | Oracle8AdapterA flavor of OracleAdapter that implements workarounds for some old driver
 limitations. | 
| class  | OracleAdapterDbAdapter implementation for Oracle RDBMS
 . | 
| Modifier and Type | Method and Description | 
|---|---|
| DbAdapter | OracleSniffer. createAdapter(DatabaseMetaData md) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | PostgresAdapterDbAdapter implementation for PostgreSQL
 RDBMS . | 
| Modifier and Type | Method and Description | 
|---|---|
| DbAdapter | PostgresSniffer. createAdapter(DatabaseMetaData md) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected PreparedStatement | PostgresBatchAction. prepareStatement(Connection connection,
                String queryStr,
                DbAdapter adapter,
                boolean generatedKeys) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | SQLiteAdapterA SQLite database adapter that works with Zentus JDBC driver. | 
| Modifier and Type | Method and Description | 
|---|---|
| DbAdapter | SQLiteSniffer. createAdapter(DatabaseMetaData md) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | SQLServerAdapter
 Cayenne DbAdapter implementation for Microsoft SQL Server  engine. | 
| Modifier and Type | Method and Description | 
|---|---|
| DbAdapter | SQLServerSniffer. createAdapter(DatabaseMetaData md) | 
| Constructor and Description | 
|---|
| SQLServerSelectTranslator(Query query,
                         DbAdapter adapter,
                         EntityResolver entityResolver) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | SybaseAdapterDbAdapter implementation for Sybase
 RDBMS. | 
| Modifier and Type | Method and Description | 
|---|---|
| DbAdapter | SybaseSniffer. createAdapter(DatabaseMetaData md) | 
| Constructor and Description | 
|---|
| SybaseSelectTranslator(Query query,
                      DbAdapter adapter,
                      EntityResolver entityResolver) | 
Copyright © 2001–2023 Apache Cayenne. All rights reserved.