Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cayenne.dba.hsqldb
Class HSQLDBNoSchemaAdapter

    java.lang.Object
      org.apache.cayenne.dba.JdbcAdapter
          org.apache.cayenne.dba.hsqldb.HSQLDBAdapter
              org.apache.cayenne.dba.hsqldb.HSQLDBNoSchemaAdapter

All Implemented Interfaces:
  DbAdapter

    public class HSQLDBNoSchemaAdapter

extends HSQLDBAdapter

A flavor of HSQLDBAdapter that implements workarounds for some old driver limitations.

Since:
  1.2
Author:
  Mike Kienenberger

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 org.apache.cayenne.dba.JdbcAdapter
`bindParameter, buildAttribute, createDataNode, createPkGenerator, createTableAppendColumn, createTableAppendPKClause, externalTypesForJdbcType, findAdapterResource, getBatchTerminator, getExtendedTypes, getPkGenerator, getQualifierTranslator, getQueryTranslator, queryTranslatorClass, setPkGenerator, setSupportsBatchUpdates, setSupportsFkConstraints, setSupportsGeneratedKeys, setSupportsUniqueConstraints, shouldRunBatchQuery, supportsBatchUpdates, supportsFkConstraints, supportsGeneratedKeys, supportsUniqueConstraints, tableTypeForTable, tableTypeForView`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### HSQLDBNoSchemaAdapter

    public HSQLDBNoSchemaAdapter()

Method Detail

### getTableName

    protected java.lang.String getTableName(DbEntity entity)

  Generate unqualified name without schema.

  Overrides:
    `getTableName` in class `HSQLDBAdapter`
  Since:
    1.2

### getSchemaName

    protected java.lang.String getSchemaName(DbEntity entity)

  Generate unqualified name.

  Overrides:
    `getSchemaName` in class `HSQLDBAdapter`
  Since:
    1.2

### dropTable

    public java.lang.String dropTable(DbEntity ent)

  Returns a SQL string to drop a table corresponding to `ent` DbEntity.

  Specified by:
    `dropTable` in interface `DbAdapter`
  Overrides:
    `dropTable` in class `JdbcAdapter`
  Since:
    1.2

### createTable

    public java.lang.String createTable(DbEntity ent)

  Uses unqualified entity names.

  Specified by:
    `createTable` in interface `DbAdapter`
  Overrides:
    `createTable` in class `HSQLDBAdapter`
  Since:
    1.2

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2006 Apache.org All Rights Reserved.