java.lang.Object
org.objectstyle.cayenne.dba.JdbcAdapter
org.objectstyle.cayenne.dba.hsqldb.HSQLDBAdapter
- All Implemented Interfaces:
- org.objectstyle.cayenne.dba.DbAdapter
- public class HSQLDBAdapter
- extends org.objectstyle.cayenne.dba.JdbcAdapter
DbAdapter implementation for the
HSQLDB RDBMS. Sample connection
settings to use with HSQLDB are shown below:
test-hsqldb.cayenne.adapter = org.objectstyle.cayenne.dba.hsqldb.HSQLDBAdapter
test-hsqldb.jdbc.username = test
test-hsqldb.jdbc.password = secret
test-hsqldb.jdbc.url = jdbc:hsqldb:hsql://serverhostname
test-hsqldb.jdbc.driver = org.hsqldb.jdbcDriver
| Methods inherited from class org.objectstyle.cayenne.dba.JdbcAdapter |
bindParameter, buildAttribute, configureExtendedTypes, createDataNode, createPkGenerator, createTable, dropTable, externalTypesForJdbcType, getExtendedTypes, getPkGenerator, getQualifierTranslator, getQueryTranslator, queryTranslatorClass, setSupportsBatchUpdates, shouldRunBatchQuery, supportsBatchUpdates, supportsFkConstraints, tableTypeForTable, tableTypeForView |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HSQLDBAdapter
public HSQLDBAdapter()
createFkConstraint
public java.lang.String createFkConstraint(org.objectstyle.cayenne.map.DbRelationship rel)
- Adds an ADD CONSTRAINT clause to a relationship constraint.