|
|||||||||
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 |
---|
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. |
java.lang.String |
createTable(DbEntity ent)
Customizes table creating procedure for FrontBase. |
java.lang.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. |
java.lang.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 DbAdapter
getAction
in class JdbcAdapter
public java.lang.String tableTypeForTable()
DbAdapter
DatabaseMetaData.getTableTypes
) for a simple user table.
tableTypeForTable
in interface DbAdapter
tableTypeForTable
in class JdbcAdapter
protected void configureExtendedTypes(ExtendedTypeMap map)
JdbcAdapter
configureExtendedTypes
in class JdbcAdapter
public java.lang.String createTable(DbEntity ent)
createTable
in interface DbAdapter
createTable
in class JdbcAdapter
public java.lang.String dropTable(DbEntity ent)
dropTable
in interface DbAdapter
dropTable
in class JdbcAdapter
protected PkGenerator createPkGenerator()
JdbcAdapter
createPkGenerator
in class JdbcAdapter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |