Skip Headers

# Sequencing

Previous

Next

If you generate a `TableCreator` class using TopLink Workbench (see "Using TopLink Workbench During Development") or `DefaultTableGenerator` (see "Using the Default Table Generator at Run Time"), then sequencing configuration is included in your `TableCreator` according to your TopLink project configuration. In this case, when you use `TableCreator` method `createTables`, it does the following:

- Creates the sequence table as defined in the session `DatabaseLogin`

- Creates or inserts sequences for each sequence name for all registered descriptors in the session

- Creates the Oracle sequence object if you use Oracle native sequencing

You can use advanced API to handle special cases like Sybase or Microsoft SQL Server native sequencing (see "Using Java").

For more information about sequencing, see "Understanding Sequencing in Relational Projects".