|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectstyle.cayenne.dba.JdbcAdapter
org.objectstyle.cayenne.dba.firebird.FirebirdAdapter
public class FirebirdAdapter
DbAdapter implementation for Firebird RDBMS. Sample connection settings to use with Firebird are shown below:
test-firebird.cayenne.adapter = org.objectstyle.cayenne.dba.firebird.FirebirdAdapter test-firebird.jdbc.username = sysdba test-firebird.jdbc.password = masterkey test-firebird.jdbc.url = jdbc:firebirdsql:[host[/port]/]test-firebird.jdbc.driver = org.firebirdsql.jdbc.FBDriver
Field Summary |
---|
Fields inherited from class org.objectstyle.cayenne.dba.JdbcAdapter |
---|
extendedTypes, pkGenerator, supportsBatchUpdates, supportsFkConstraints, supportsGeneratedKeys, supportsUniqueConstraints, typesHandler |
Constructor Summary | |
---|---|
FirebirdAdapter()
|
Method Summary | |
---|---|
protected void |
configureExtendedTypes(ExtendedTypeMap map)
Installs appropriate ExtendedTypes as converters for passing values between JDBC and Java layers. |
java.lang.String |
createFkConstraint(DbRelationship rel)
Returns a SQL string that can be used to create a foreign key constraint for the relationship. |
protected PkGenerator |
createPkGenerator()
Creates and returns a primary key generator. |
java.lang.String |
createTable(DbEntity ent)
Returns a SQL string that can be used to create database table corresponding to ent parameter. |
java.lang.String |
dropTable(DbEntity ent)
Returns a SQL string to drop a table corresponding to ent DbEntity. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FirebirdAdapter()
Method Detail |
---|
public java.lang.String createTable(DbEntity ent)
JdbcAdapter
ent
parameter.
createTable
in interface DbAdapter
createTable
in class JdbcAdapter
public java.lang.String createFkConstraint(DbRelationship rel)
createFkConstraint
in interface DbAdapter
createFkConstraint
in class JdbcAdapter
public java.lang.String dropTable(DbEntity ent)
JdbcAdapter
ent
DbEntity.
dropTable
in interface DbAdapter
dropTable
in class JdbcAdapter
protected void configureExtendedTypes(ExtendedTypeMap map)
JdbcAdapter
configureExtendedTypes
in class JdbcAdapter
protected PkGenerator createPkGenerator()
JdbcAdapter
createPkGenerator
in class JdbcAdapter
JdbcAdapter.createPkGenerator()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |