Package org.apache.cayenne.dba.frontbase
Class FrontBaseAdapter
java.lang.Object
org.apache.cayenne.dba.JdbcAdapter
org.apache.cayenne.dba.frontbase.FrontBaseAdapter
- All Implemented Interfaces:
- DbAdapter
DbAdapter implementation for FrontBase
 RDBMS. Sample connection settings to use with FrontBase are shown below:
 
 
          fb.jdbc.username = _system
          fb.jdbc.password = secret
          fb.jdbc.url = jdbc:FrontBase://localhost/cayenne/
          fb.jdbc.driver = jdbc.FrontBase.FBJDriver
 - Since:
- 1.2
- 
Field SummaryFields inherited from class org.apache.cayenne.dba.JdbcAdaptercaseInsensitiveCollations, ejbqlTranslatorFactory, extendedTypes, logger, quotingStrategy, resourceLocator, supportsBatchUpdates, supportsGeneratedKeys, supportsUniqueConstraints, typesHandler
- 
Constructor SummaryConstructorsConstructorDescriptionFrontBaseAdapter(RuntimeProperties runtimeProperties, List<ExtendedType> defaultExtendedTypes, List<ExtendedType> userExtendedTypes, List<ExtendedTypeFactory> extendedTypeFactories, ResourceLocator resourceLocator, ValueObjectTypeRegistry valueObjectTypeRegistry) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidCalled fromJdbcAdapter.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.createTable(DbEntity ent) Customizes table creating procedure for FrontBase.dropTableStatements(DbEntity table) Adds the CASCADE option to the DROP TABLE clause.Uses FrontBaseActionBuilder to create the right action.Returns the name of the table type (as returned byDatabaseMetaData.getTableTypes) for a simple user table.Methods inherited from class org.apache.cayenne.dba.JdbcAdapterbindParameter, buildAttribute, createEJBQLTranslatorFactory, createFkConstraint, createQuotingStrategy, createTableAppendColumn, createTableAppendPKClause, createUniqueConstraint, externalTypesForJdbcType, findResource, getBatchTerminator, getEjbqlTranslatorFactory, getExtendedTypes, getJdbcEventLogger, getPkGenerator, getQuotingStrategy, getSelectTranslator, getSystemCatalogs, getSystemSchemas, getType, initExtendedTypes, setEjbqlTranslatorFactory, setPkGenerator, setSupportsBatchUpdates, setSupportsGeneratedKeys, setSupportsUniqueConstraints, sizeAndPrecision, supportsBatchUpdates, supportsCatalogsOnReverseEngineering, supportsGeneratedKeys, supportsUniqueConstraints, tableTypeForView, typeSupportsLength, typeSupportsScale, unwrapMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cayenne.dba.DbAdaptersupportsGeneratedKeysForBatchInserts
- 
Constructor Details- 
FrontBaseAdapterpublic FrontBaseAdapter(RuntimeProperties runtimeProperties, List<ExtendedType> defaultExtendedTypes, List<ExtendedType> userExtendedTypes, List<ExtendedTypeFactory> extendedTypeFactories, ResourceLocator resourceLocator, ValueObjectTypeRegistry valueObjectTypeRegistry) 
 
- 
- 
Method Details- 
getSqlTreeProcessor- Specified by:
- getSqlTreeProcessorin interface- DbAdapter
- Overrides:
- getSqlTreeProcessorin class- JdbcAdapter
- Returns:
- SQLTreeProcessorthat can adjust SQL tree to specific database flavour
- Since:
- 4.2
 
- 
tableTypeForTableDescription copied from interface:DbAdapterReturns the name of the table type (as returned byDatabaseMetaData.getTableTypes) for a simple user table.- Specified by:
- tableTypeForTablein interface- DbAdapter
- Overrides:
- tableTypeForTablein class- JdbcAdapter
 
- 
configureExtendedTypesDescription copied from class:JdbcAdapterCalled fromJdbcAdapter.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.- Overrides:
- configureExtendedTypesin class- JdbcAdapter
 
- 
createTableCustomizes table creating procedure for FrontBase.- Specified by:
- createTablein interface- DbAdapter
- Overrides:
- createTablein class- JdbcAdapter
 
- 
dropTableStatementsAdds the CASCADE option to the DROP TABLE clause.- Specified by:
- dropTableStatementsin interface- DbAdapter
- Overrides:
- dropTableStatementsin class- JdbcAdapter
 
- 
getActionUses FrontBaseActionBuilder to create the right action.- Specified by:
- getActionin interface- DbAdapter
- Overrides:
- getActionin class- JdbcAdapter
- Since:
- 4.2
 
 
-