This package contains some classes and interfaces enhancing the SQL generator with Oracle specific features.
See: Description
Interface Summary | |
---|---|
OraColumnReference | An extension of ColumnReference supporting the isPrior clause. |
OraSelectStatement | Oracle specific interface of SelectStatement. |
OraSelectStatement.OraOrderColumn | An extension of SelectStatement with the ability to specify, whether NULL comes first or last. |
OraSQLFactory | |
OraSQLGenerator |
Class Summary | |
---|---|
OraColumnReferenceImpl | Default implementation of OraColumnReference. |
OraJoinReferenceImpl | |
OraObjectFactoryImpl | |
OraSelectStatementImpl | |
OraSelectStatementImpl.OraOrderColumnImpl | Default implementation of OraOrderColumn. |
OraSQLFactoryImpl | |
OraSQLGeneratorImpl | Oracle specific extension of SQLGeneratorImpl. |
OraStatementMetaData | Oracle specific version of StatementMetaData. |
This package contains some classes and interfaces enhancing the SQL generator with Oracle specific features. In particular, these classes are able to work with Oracle's strange metadata.
The DB2 support works by instantiating a different SQLFactory: By default, you would enable SQLFactoryImpl. However, for Oracle support you would choose OraSQLFactoryImpl, which is a subclass of the default factory.
Likewise, you need to replace the default implementation of the SQL generator, SQLGenerator with OraSQLGeneratorImpl
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.