org.apache.cayenne.dba.firebird
Class FirebirdAdapter
java.lang.Object
org.apache.cayenne.dba.JdbcAdapter
org.apache.cayenne.dba.firebird.FirebirdAdapter
- All Implemented Interfaces:
- DbAdapter
public class FirebirdAdapter
- extends JdbcAdapter
DbAdapter implementation for FirebirdSQL
RDBMS . Sample connection settings to use with Firebird are shown
below:
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
Fields inherited from class org.apache.cayenne.dba.JdbcAdapter |
batchQueryBuilderFactory, caseInsensitiveCollations, CI_PROPERTY, ejbqlTranslatorFactory, extendedTypes, logger, quotingStrategy, resourceLocator, supportsBatchUpdates, supportsGeneratedKeys, supportsUniqueConstraints, typesHandler |
Methods inherited from class org.apache.cayenne.dba.JdbcAdapter |
bindParameter, buildAttribute, createEJBQLTranslatorFactory, createFkConstraint, createPkGenerator, createQuotingStrategy, createTable, createTableAppendPKClause, createUniqueConstraint, dropTableStatements, externalTypesForJdbcType, findResource, getAction, getBatchQueryBuilderFactory, getBatchTerminator, getEjbqlTranslatorFactory, getExtendedTypes, getJdbcEventLogger, getPkGenerator, getQuotingStrategy, getQuotingStrategy, initExtendedTypes, setBatchQueryBuilderFactory, setEjbqlTranslatorFactory, setPkGenerator, setSupportsBatchUpdates, setSupportsGeneratedKeys, setSupportsUniqueConstraints, supportsBatchUpdates, supportsGeneratedKeys, supportsUniqueConstraints, tableTypeForTable, tableTypeForView |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FirebirdAdapter
public FirebirdAdapter(RuntimeProperties runtimeProperties,
List<ExtendedType> defaultExtendedTypes,
List<ExtendedType> userExtendedTypes,
List<ExtendedTypeFactory> extendedTypeFactories)
configureExtendedTypes
protected void configureExtendedTypes(ExtendedTypeMap map)
- Description copied from class:
JdbcAdapter
- Called from
JdbcAdapter.initExtendedTypes(List, List, List)
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.
- Overrides:
configureExtendedTypes
in class JdbcAdapter
mergerFactory
public FirebirdMergerFactory mergerFactory()
- Specified by:
mergerFactory
in interface DbAdapter
- Overrides:
mergerFactory
in class JdbcAdapter
createTableAppendColumn
public void createTableAppendColumn(StringBuffer sqlBuffer,
DbAttribute column)
- Description copied from class:
JdbcAdapter
- Appends SQL for column creation to CREATE TABLE buffer.
- Specified by:
createTableAppendColumn
in interface DbAdapter
- Overrides:
createTableAppendColumn
in class JdbcAdapter
- Parameters:
sqlBuffer
- the StringBuffer
to append the column type tocolumn
- the DbAttribute
defining the column to append type for
getQualifierTranslator
public QualifierTranslator getQualifierTranslator(QueryAssembler queryAssembler)
- Description copied from class:
JdbcAdapter
- Creates and returns a default implementation of a qualifier translator.
- Specified by:
getQualifierTranslator
in interface DbAdapter
- Overrides:
getQualifierTranslator
in class JdbcAdapter
Copyright © 2001-2013 Apache Cayenne. All Rights Reserved.