|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cayenne.dba.JdbcAdapter
org.apache.cayenne.dba.frontbase.FrontBaseAdapter
public class FrontBaseAdapter
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
| Field Summary |
|---|
| Fields inherited from class org.apache.cayenne.dba.JdbcAdapter |
|---|
batchQueryBuilderFactory, caseInsensitiveCollations, CI_PROPERTY, ejbqlTranslatorFactory, extendedTypes, identifiersEndQuote, identifiersStartQuote, logger, resourceLocator, supportsBatchUpdates, supportsGeneratedKeys, supportsUniqueConstraints, typesHandler |
| Constructor Summary | |
|---|---|
FrontBaseAdapter(RuntimeProperties runtimeProperties,
List<ExtendedType> defaultExtendedTypes,
List<ExtendedType> userExtendedTypes,
List<ExtendedTypeFactory> extendedTypeFactories)
|
|
| Method Summary | |
|---|---|
protected void |
configureExtendedTypes(ExtendedTypeMap map)
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. |
protected PkGenerator |
createPkGenerator()
Creates and returns a primary key generator. |
String |
createTable(DbEntity ent)
Customizes table creating procedure for FrontBase. |
Collection<String> |
dropTableStatements(DbEntity table)
Adds the CASCADE option to the DROP TABLE clause. |
SQLAction |
getAction(Query query,
DataNode node)
Uses special action builder to create the right action. |
String |
tableTypeForTable()
Returns the name of the table type (as returned by DatabaseMetaData.getTableTypes) for a simple user table. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FrontBaseAdapter(RuntimeProperties runtimeProperties,
List<ExtendedType> defaultExtendedTypes,
List<ExtendedType> userExtendedTypes,
List<ExtendedTypeFactory> extendedTypeFactories)
| Method Detail |
|---|
public SQLAction getAction(Query query,
DataNode node)
getAction in interface DbAdaptergetAction in class JdbcAdapterpublic String tableTypeForTable()
DbAdapterDatabaseMetaData.getTableTypes) for a simple user table.
tableTypeForTable in interface DbAdaptertableTypeForTable in class JdbcAdapterprotected void configureExtendedTypes(ExtendedTypeMap map)
JdbcAdapterJdbcAdapter.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.
configureExtendedTypes in class JdbcAdapterpublic String createTable(DbEntity ent)
createTable in interface DbAdaptercreateTable in class JdbcAdapterpublic Collection<String> dropTableStatements(DbEntity table)
dropTableStatements in interface DbAdapterdropTableStatements in class JdbcAdapterprotected PkGenerator createPkGenerator()
JdbcAdapter
createPkGenerator in class JdbcAdapter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||