|
|||||||||
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.hsqldb.HSQLDBAdapter
org.apache.cayenne.dba.hsqldb.HSQLDBNoSchemaAdapter
public class HSQLDBNoSchemaAdapter
A flavor of HSQLDBAdapter that implements workarounds for some old driver limitations.
Field Summary |
---|
Fields inherited from class org.apache.cayenne.dba.JdbcAdapter |
---|
extendedTypes, pkGenerator, supportsBatchUpdates, supportsFkConstraints, supportsGeneratedKeys, supportsUniqueConstraints, typesHandler |
Constructor Summary | |
---|---|
HSQLDBNoSchemaAdapter()
|
Method Summary | |
---|---|
java.lang.String |
createTable(DbEntity ent)
Uses unqualified entity names. |
java.lang.String |
dropTable(DbEntity ent)
Returns a SQL string to drop a table corresponding to ent DbEntity. |
protected java.lang.String |
getSchemaName(DbEntity entity)
Generate unqualified name. |
protected java.lang.String |
getTableName(DbEntity entity)
Generate unqualified name without schema. |
Methods inherited from class org.apache.cayenne.dba.hsqldb.HSQLDBAdapter |
---|
configureExtendedTypes, createFkConstraint, createUniqueConstraint, getAction |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HSQLDBNoSchemaAdapter()
Method Detail |
---|
protected java.lang.String getTableName(DbEntity entity)
getTableName
in class HSQLDBAdapter
protected java.lang.String getSchemaName(DbEntity entity)
getSchemaName
in class HSQLDBAdapter
public java.lang.String dropTable(DbEntity ent)
ent
DbEntity.
dropTable
in interface DbAdapter
dropTable
in class JdbcAdapter
public java.lang.String createTable(DbEntity ent)
createTable
in interface DbAdapter
createTable
in class HSQLDBAdapter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |