|
|||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
HsqlDbColumn | Interface of a column in a HsqlDb database. |
HsqlDbSchema | Interface of a schema in a HsqlDb database. |
HsqlDbSQLFactory | Interface of an SQL factory for HsqlDb databases. |
HsqlDbSQLGenerator | Interface of an SQL generator for HsqlDb databases. |
HsqlDbTable | Interface of a table in a HsqlDb database. |
Class Summary | |
HsqlDbColumnImpl | Default implementation of a column in a HsqlDb database. |
HsqlDbSchemaImpl | Default implementation of a schema in a HsqlDb database. |
HsqlDbSQLFactoryImpl | Default implementation of an SQL factory for HsqlDb databases. |
HsqlDbSQLGeneratorImpl | Default implementation of an SQL generator for HsqlDb schemas. |
HsqlDbTableImpl | Default implementation of a table in a HsqlDb database. |
This package contains some classes and interfaces enhancing the SQL generator with HsqlDb specific features. HsqlDb is an open source database, written in Java. It is particularly well suited for JUnit tests, because it can run in embedded into the own JVM. HsqlDb is available from http://hsqldb.sf.net.
The HsqlDb support works by instantiating a different
SQLFactory
: By default, you would enable
SQLFactoryImpl
. However, for HsqlDb
support you would choose HsqlDbSQLFactoryImpl
,
which is a subclass of the default factory.
Likewise, you need to replace the default implementation of the SQL generator,
SQLGenerator
with
HsqlDbSQLGeneratorImpl
The difference between the factories is as follows: When using the
HsqlDb factory, you may cast your instances of
SQLFactory
,
Schema
,
Table
, and
Column
to
HsqlDbSQLFactory
,
HsqlDbSchema
,
HsqlDbTable
, and
HsqlDbColumn
, respectively, and use the
additional methods.
|
|||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |