oracle.toplink.essentials.tools.schemaframework |
|
Java Source File Name | Type | Comment |
DatabaseObjectDefinition.java | Class |
Purpose: Define a database object for the purpose of creation and deletion. |
DefaultTableGenerator.java | Class | DefaultTableGenerator is a utility class used to generate a default table schema for a TopLink project object.
The utility can be used in TopLink CMP for OC4J to perform the table auto creation process, which can be triggered
at deployment time when TopLink project descriptor is absent (default mapping) or present.
The utility can also be used to any TopLink application to perform the table drop/creation at runtime.
The utility handles all direct/relational mappings, inheritance, multiple tables, interface with/without tables,
optimistic version/timestamp lockings, nested relationships, BLOB/CLOB generation.
The utility is platform-agnostic.
Usage:
- CMP
1. |
FieldDefinition.java | Class |
Purpose: Define a database field definition for creation within a table. |
ForeignKeyConstraint.java | Class |
Purpose: Define a foreign key from one table to another. |
OracleSequenceDefinition.java | Class |
Purpose: Support Oracle native sequence creation. |
PopulationManager.java | Class |
Purpose: This class is used to populate example data into the database, it allows for cirrcular references to be resolved. |
SchemaManager.java | Class |
Purpose: Define all user level protocol for development time database manipulation. |
SequenceDefinition.java | Class |
Purpose: Allow a generic way of creating sequences on the different platforms,
and allow optional parameters to be specified. |
TableCreator.java | Class | Purpose: This class is reponsible for creating the tables defined in the project.
A specific subclass of this class is created for each project. |
TableDefinition.java | Class |
Purpose: Allow a generic way of creating tables on the different platforms. |
TableSequenceDefinition.java | Class |
Purpose: Allow a generic way of creating sequences on the different platforms,
and allow optional parameters to be specified. |
TimesTenSequenceDefinition.java | Class | |
UniqueKeyConstraint.java | Class |
Purpose: Define a unique key constraint for a table. |
ViewDefinition.java | Class |
Purpose: Allow for creation of views. |