|
||||||||||
| 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.cayenne.adapter = org.apache.cayenne.dba.frontbase.FrontBaseAdapter
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 |
|---|
ejbqlTranslatorFactory, extendedTypes, pkGenerator, supportsBatchUpdates, supportsFkConstraints, supportsGeneratedKeys, supportsUniqueConstraints, typesHandler |
| Constructor Summary | |
|---|---|
FrontBaseAdapter()
|
|
| Method Summary | |
|---|---|
protected void |
configureExtendedTypes(ExtendedTypeMap map)
Installs appropriate ExtendedTypes as converters for passing values between JDBC and Java layers. |
protected PkGenerator |
createPkGenerator()
Creates and returns a primary key generator. |
String |
createTable(DbEntity ent)
Customizes table creating procedure for FrontBase. |
String |
dropTable(DbEntity ent)
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()
| 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)
JdbcAdapter
configureExtendedTypes in class JdbcAdapterpublic String createTable(DbEntity ent)
createTable in interface DbAdaptercreateTable in class JdbcAdapterpublic String dropTable(DbEntity ent)
dropTable in interface DbAdapterdropTable 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 | |||||||||