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

HsqlDb support for the SQL generator

See: Description

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

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.