public class FirebirdAdapter extends JdbcAdapter
firebird.cayenne.adapter = org.apache.cayenne.dba.firebird.FirebirdAdapter
firebird.jdbc.username = test
firebird.jdbc.password = secret
firebird.jdbc.url = jdbc:firebirdsql:localhost:/home/firebird/test.fdb
firebird.jdbc.driver = org.firebirdsql.jdbc.FBDriver
batchQueryBuilderFactory, caseInsensitiveCollations, ejbqlTranslatorFactory, extendedTypes, logger, quotingStrategy, resourceLocator, supportsBatchUpdates, supportsGeneratedKeys, supportsUniqueConstraints, typesHandler| Constructor and Description |
|---|
FirebirdAdapter(RuntimeProperties runtimeProperties,
List<ExtendedType> defaultExtendedTypes,
List<ExtendedType> userExtendedTypes,
List<ExtendedTypeFactory> extendedTypeFactories,
ResourceLocator resourceLocator,
ValueObjectTypeRegistry valueObjectTypeRegistry) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureExtendedTypes(ExtendedTypeMap map)
Called from
JdbcAdapter.initExtendedTypes(List, List, List, ValueObjectTypeRegistry) to load
adapter-specific types into the ExtendedTypeMap right after the default
types are loaded, but before the DI overrides are. |
void |
createTableAppendColumn(StringBuffer sqlBuffer,
DbAttribute column)
Appends SQL for column creation to CREATE TABLE buffer.
|
SQLAction |
getAction(Query query,
DataNode node)
Uses JdbcActionBuilder to create the right action.
|
EJBQLTranslatorFactory |
getEjbqlTranslatorFactory()
Returns a translator factory for EJBQL to SQL translation.
|
Function<Node,Node> |
getSqlTreeProcessor() |
bindParameter, buildAttribute, createEJBQLTranslatorFactory, createFkConstraint, createPkGenerator, createQuotingStrategy, createTable, createTableAppendPKClause, createUniqueConstraint, dropTableStatements, externalTypesForJdbcType, findResource, getBatchTerminator, getExtendedTypes, getJdbcEventLogger, getPkGenerator, getQuotingStrategy, getSelectTranslator, getSelectTranslator, getSystemCatalogs, getSystemSchemas, getType, initExtendedTypes, setEjbqlTranslatorFactory, setPkGenerator, setSupportsBatchUpdates, setSupportsGeneratedKeys, setSupportsUniqueConstraints, sizeAndPrecision, supportsBatchUpdates, supportsCatalogsOnReverseEngineering, supportsGeneratedKeys, supportsUniqueConstraints, tableTypeForTable, tableTypeForView, typeSupportsLength, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsupportsGeneratedKeysForBatchInsertspublic FirebirdAdapter(RuntimeProperties runtimeProperties, List<ExtendedType> defaultExtendedTypes, List<ExtendedType> userExtendedTypes, List<ExtendedTypeFactory> extendedTypeFactories, ResourceLocator resourceLocator, ValueObjectTypeRegistry valueObjectTypeRegistry)
protected void configureExtendedTypes(ExtendedTypeMap map)
JdbcAdapterJdbcAdapter.initExtendedTypes(List, List, List, ValueObjectTypeRegistry) to load
adapter-specific types into the ExtendedTypeMap right after the default
types are loaded, but before the DI overrides are. This method has
specific implementations in JdbcAdapter subclasses.configureExtendedTypes in class JdbcAdapterpublic void createTableAppendColumn(StringBuffer sqlBuffer, DbAttribute column)
JdbcAdaptercreateTableAppendColumn in interface DbAdaptercreateTableAppendColumn in class JdbcAdaptersqlBuffer - the StringBuffer to append the column type tocolumn - the DbAttribute defining the column to append type forpublic Function<Node,Node> getSqlTreeProcessor()
getSqlTreeProcessor in interface DbAdaptergetSqlTreeProcessor in class JdbcAdapterFunction that can adjust SQL tree to specific database flavourpublic EJBQLTranslatorFactory getEjbqlTranslatorFactory()
JdbcAdapterJdbcAdapter.createEJBQLTranslatorFactory(), and can be changed later by
calling JdbcAdapter.setEjbqlTranslatorFactory(EJBQLTranslatorFactory).getEjbqlTranslatorFactory in interface DbAdaptergetEjbqlTranslatorFactory in class JdbcAdapterpublic SQLAction getAction(Query query, DataNode node)
JdbcAdaptergetAction in interface DbAdaptergetAction in class JdbcAdapterCopyright © 2001–2020 Apache Cayenne. All rights reserved.