This package contains some classes and interfaces enhancing the SQL generator with DB2 specific features.
See: Description
Interface Summary | |
---|---|
BufferPool | Interface of a DB2 BufferPool. |
BufferPool.Name | |
DB2Column | Interface of a column in a DB2 database. |
DB2Schema | Interface of a schema in a DB2 database. |
DB2SQLFactory | Interface of an SQL factory for DB2 databases. |
DB2SQLGenerator | Interface of an SQL generator for DB2 databases. |
DB2Table | Interface of a table in a DB2 database. |
TableSpace | Interface of a DB2 TableSpace. |
TableSpace.Container | Interface of a TableSpace Container. |
TableSpace.DatabaseManagedContainer | Interface of a database managed container. |
TableSpace.Name | |
TableSpace.SystemManagedContainer | Interface of a system managed container, aka operating system file. |
Class Summary | |
---|---|
DB2ColumnImpl | Default implementation of a column in a DB2 database. |
DB2SchemaImpl | Default implementation of a schema in a DB2 database. |
DB2SQLFactoryImpl | Default implementation of an SQL factory for DB2 databases. |
DB2SQLFactoryImpl.PredefinedTableSpace | An immutable, predefined TableSpace. |
DB2SQLGeneratorImpl | Default implementation of an SQL generator for DB2 schemas. |
DB2TableImpl | Default implementation of a table in a DB2 database. |
PageSize | A DB2 page size is limited to certain values. |
TableSpaceImpl | Default implementation of a DB2 tablespace. |
TableSpaceImpl.DatabaseManagedContainerImpl | |
TableSpaceImpl.NameImpl | |
TableSpaceImpl.SystemManagedContainerImpl | |
TableSpace.Type | A DB2 TableSpace type. |
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 {@link org.apache.ws.jaxme.sqls.SQLFactory}: By default, you would enable {@link org.apache.ws.jaxme.sqls.impl.SQLFactoryImpl}. However, for DB2 support you would choose {@link org.apache.ws.jaxme.sqls.db2.DB2SQLFactoryImpl}, which is a subclass of the default factory.
Likewise, you need to replace the default implementation of the SQL generator, {@link org.apache.ws.jaxme.sqls.SQLGenerator} with {@link org.apache.ws.jaxme.sqls.db2.DB2SQLGeneratorImpl}
The difference between the factories is as follows: When using the DB2 factory, you may cast your instances of {@link org.apache.ws.jaxme.sqls.SQLFactory}, {@link org.apache.ws.jaxme.sqls.Schema}, {@link org.apache.ws.jaxme.sqls.Table}, and {@link org.apache.ws.jaxme.sqls.Column} to {@link org.apache.ws.jaxme.sqls.db2.DB2SQLFactory}, {@link org.apache.ws.jaxme.sqls.db2.DB2Schema}, {@link org.apache.ws.jaxme.sqls.db2.DB2Table}, and {@link org.apache.ws.jaxme.sqls.db2.DB2Column}, respectively, and use the additional methods.