Package org.apache.ws.jaxme.sqls.hsqldb

HsqlDb support for the SQL generator

This package contains some classes and interfaces enhancing the SQL generator with HsqlDb specific features.

Interface Summary

HsqlDbColumnInterface of a column in a HsqlDb database.
HsqlDbSchemaInterface of a schema in a HsqlDb database.
HsqlDbSQLFactoryInterface of an SQL factory for HsqlDb databases.
HsqlDbSQLGeneratorInterface of an SQL generator for HsqlDb databases.
HsqlDbTableInterface of a table in a HsqlDb database.

Class Summary

HsqlDbColumnImplDefault implementation of a column in a HsqlDb database.
HsqlDbSchemaImplDefault implementation of a schema in a HsqlDb database.
HsqlDbSQLFactoryImplDefault implementation of an SQL factory for HsqlDb databases.
HsqlDbSQLGeneratorImplDefault implementation of an SQL generator for HsqlDb schemas.
HsqlDbTableImplDefault implementation of a table in a HsqlDb database.

HsqlDb support for the SQL generator

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.