Package org.apache.ws.jaxme.sqls.db2

DB2 support for the SQL generator

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

Interface Summary

BufferPoolInterface of a DB2 BufferPool.
BufferPool.Name
DB2ColumnInterface of a column in a DB2 database.
DB2SchemaInterface of a schema in a DB2 database.
DB2SQLFactoryInterface of an SQL factory for DB2 databases.
DB2SQLGeneratorInterface of an SQL generator for DB2 databases.
DB2TableInterface of a table in a DB2 database.
TableSpaceInterface of a DB2 TableSpace.
TableSpace.ContainerInterface of a TableSpace Container.
TableSpace.DatabaseManagedContainerInterface of a database managed container.
TableSpace.Name
TableSpace.SystemManagedContainerInterface of a system managed container, aka operating system file.

Class Summary

DB2ColumnImplDefault implementation of a column in a DB2 database.
DB2SchemaImplDefault implementation of a schema in a DB2 database.
DB2SQLFactoryImplDefault implementation of an SQL factory for DB2 databases.
DB2SQLFactoryImpl.PredefinedTableSpaceAn immutable, predefined TableSpace.
DB2SQLGeneratorImplDefault implementation of an SQL generator for DB2 schemas.
DB2TableImplDefault implementation of a table in a DB2 database.
PageSizeA DB2 page size is limited to certain values.
TableSpace.TypeA DB2 TableSpace type.
TableSpaceImplDefault implementation of a DB2 tablespace.
TableSpaceImpl.DatabaseManagedContainerImpl
TableSpaceImpl.NameImpl
TableSpaceImpl.SystemManagedContainerImpl

DB2 support for the SQL generator

This package contains some classes and interfaces enhancing the SQL generator with DB2 specific features. In particular, these classes enable you to create buffer pools and table spaces.

The DB2 support works by instantiating a different SQLFactory: By default, you would enable SQLFactoryImpl. However, for DB2 support you would choose DB2SQLFactoryImpl, which is a subclass of the default factory.

Likewise, you need to replace the default implementation of the SQL generator, SQLGenerator with DB2SQLGeneratorImpl

The difference between the factories is as follows: When using the DB2 factory, you may cast your instances of SQLFactory, Schema, Table, and Column to DB2SQLFactory, DB2Schema, DB2Table, and DB2Column, respectively, and use the additional methods.