|
||||||||||
| 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 |
|---|
batchQueryBuilderFactory, ejbqlTranslatorFactory, extendedTypes, identifiersEndQuote, identifiersStartQuote, logger, resourceLocator, supportsBatchUpdates, supportsGeneratedKeys, supportsUniqueConstraints, typesHandler |
| Constructor Summary | |
|---|---|
HSQLDBNoSchemaAdapter()
|
|
| Method Summary | |
|---|---|
java.lang.String |
createTable(DbEntity ent)
Uses unqualified entity names. |
java.util.Collection<java.lang.String> |
dropTableStatements(DbEntity table)
Returns a collection of SQL statements needed to drop a database table. |
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 |
|---|
createFkConstraint, createTableAppendColumn, createUniqueConstraint, getAction, mergerFactory |
| 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 HSQLDBAdapterprotected java.lang.String getSchemaName(DbEntity entity)
getSchemaName in class HSQLDBAdapterpublic java.util.Collection<java.lang.String> dropTableStatements(DbEntity table)
DbAdapter
dropTableStatements in interface DbAdapterdropTableStatements in class JdbcAdapterpublic java.lang.String createTable(DbEntity ent)
createTable in interface DbAdaptercreateTable in class HSQLDBAdapter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||