void |
SequenceDefinition.alterOnDatabase(AbstractSession session) |
INTERNAL:
By default does nothing.
|
void |
SequenceObjectDefinition.alterOnDatabase(AbstractSession session) |
INTERNAL:
Execute the SQL required to alter sequence increment.
|
void |
SchemaManager.alterSequence(SequenceDefinition sequenceDefinition) |
Use the definition to alter sequence.
|
void |
SchemaManager.createConstraints(TableDefinition tableDefinition) |
Use the table definition to add the constraints to the database, this is normally done
in two steps to avoid dependencies.
|
void |
TableDefinition.createConstraints(AbstractSession session,
Writer schemaWriter) |
INTERNAL:
Execute the SQL alter table constraint creation string.
|
void |
TableDefinition.createConstraintsOnDatabase(AbstractSession session) |
INTERNAL:
Execute the SQL alter table constraint creation string.
|
void |
DatabaseObjectDefinition.createDatabaseSchema(AbstractSession session,
Writer writer,
Set<String> createdDatabaseSchemas) |
INTERNAL:
Execute the DDL to create the database schema for this object.
|
void |
TableDefinition.createDatabaseSchema(AbstractSession session,
Writer writer,
Set<String> createdDatabaseSchemas) |
INTERNAL:
Execute the DDL to create the database schema for this object.
|
void |
DatabaseObjectDefinition.createDatabaseSchemaOnDatabase(AbstractSession session,
Set<String> createdDatabaseSchemas) |
INTERNAL:
Execute the DDL to create the database schema for this object.
|
void |
TableDefinition.createDatabaseSchemaOnDatabase(AbstractSession session,
Set<String> createdDatabaseSchemas) |
INTERNAL:
Execute the DDL to create the database schema for this object.
|
void |
DatabaseObjectDefinition.createObject(AbstractSession session,
Writer schemaWriter) |
INTERNAL:
Either drop from the database directly or write the statement to a file.
|
void |
SchemaManager.createObject(DatabaseObjectDefinition databaseObjectDefinition) |
Use the definition object to create the schema entity on the database.
|
void |
DatabaseObjectDefinition.createOnDatabase(AbstractSession session) |
INTERNAL:
Execute the DDL to create this object.
|
void |
SequenceDefinition.createOnDatabase(AbstractSession session) |
INTERNAL:
Creates this sequence definition on the database.
|
protected void |
SchemaManager.createOrReplaceSequences(boolean create) |
Common implementor for createSequence and replaceSequence
|
protected void |
SchemaManager.createOrReplaceSequences(boolean createSequenceTables,
boolean createSequences) |
Common implementor for createSequence and replaceSequence, distinguishes between sequence tables and sequence objects
|
void |
SchemaManager.createSequences() |
Create all the receiver's sequences on the database for all of the loaded descriptors.
|
void |
SchemaManager.dropConstraints(TableDefinition tableDefinition) |
Use the table definition to drop the constraints from the table, this is normally done
in two steps to avoid dependencies.
|
void |
TableDefinition.dropConstraints(AbstractSession session,
Writer schemaWriter) |
INTERNAL:
Execute the SQL alter table constraint creation string.
|
void |
TableDefinition.dropConstraintsOnDatabase(AbstractSession session) |
INTERNAL:
Execute the SQL alter table constraint creation string.
|
void |
DatabaseObjectDefinition.dropDatabaseSchema(AbstractSession session,
Writer writer) |
INTERNAL:
Execute the DDL to drop the database schema for this object.
|
void |
TableDefinition.dropDatabaseSchema(AbstractSession session,
Writer writer) |
INTERNAL:
Execute the DDL to drop the database schema for this object.
|
void |
TableSequenceDefinition.dropDatabaseSchema(AbstractSession session,
Writer writer) |
INTERNAL:
Execute the DDL to drop the database schema for this object.
|
void |
DatabaseObjectDefinition.dropDatabaseSchemaOnDatabase(AbstractSession session) |
INTERNAL:
Execute the DDL to drop the database schema for this object.
|
void |
TableDefinition.dropDatabaseSchemaOnDatabase(AbstractSession session) |
INTERNAL:
Execute the DDL to drop the database schema for this object.
|
void |
TableSequenceDefinition.dropDatabaseSchemaOnDatabase(AbstractSession session) |
INTERNAL:
Execute the DDL to drop the database schema for this object.
|
void |
DatabaseObjectDefinition.dropFromDatabase(AbstractSession session) |
INTERNAL:
Execute the DDL to drop the object.
|
void |
DatabaseObjectDefinition.dropObject(AbstractSession session,
Writer schemaWriter,
boolean createSQLFiles) |
INTERNAL:
Execute the DDL to drop the object.
|
void |
SchemaManager.dropObject(DatabaseObjectDefinition databaseObjectDefinition) |
Use the definition object to drop the schema entity from the database.
|
void |
SchemaManager.dropTable(String tableName) |
Drop (delete) the table named tableName from the database.
|
void |
SchemaManager.extendDefaultTables(boolean generateFKConstraints) |
Create or extend the default table schema for the project this session associated with.
|
void |
SchemaManager.generateStoredProcedures() |
PUBLIC:
Use this method to generate stored procedures based on the dynamic SQL generated
for your mappings and descriptors.
|
void |
SchemaManager.generateStoredProcedures(Writer writer) |
PUBLIC:
Use this method to generate stored procedures based on the dynamic SQL generated
for your mappings and descriptors.
|
void |
SchemaManager.generateStoredProceduresAndAmendmentClass(Writer writer,
String fullyQualifiedClassName) |
PUBLIC:
Use this method to generate stored procedures based on the dynamic SQL generated
for your mappings and descriptors.
|
void |
SchemaManager.generateStoredProceduresAndAmendmentClass(String path,
String fullyQualifiedClassName) |
PUBLIC:
Use this method to generate stored procedures based on the dynamic SQL generated
for your mappings and descriptors.
|
protected void |
SchemaManager.processSequenceDefinition(SequenceDefinition definition,
boolean createTables,
boolean createSequences,
boolean replace,
Set<String> createdTableNames,
Set<String> droppedTableNames) |
Method creates database tables/objects.
|
protected void |
SchemaManager.processSequenceDefinitions(boolean createSequenceTables,
boolean createSequences,
boolean replaceSequences) |
Common implementor for createSequence and replaceSequence, distinguishes between sequence tables and sequence objects
|
void |
SchemaManager.replaceDefaultTables() |
Drop and recreate the default table schema for the project this session associated with.
|
void |
SchemaManager.replaceDefaultTables(boolean createSequenceTables,
boolean generateFKConstraints) |
Drop and recreate the default table schema for the project this session associated with.
|
void |
SchemaManager.replaceDefaultTables(boolean createSequenceTables,
boolean createSequences,
boolean generateFKConstraints) |
Drop and recreate the default table schema for the project this session associated with.
|
void |
SchemaManager.replaceObject(DatabaseObjectDefinition databaseDefinition) |
Use the definition object to drop and recreate the schema entity on the database.
|
void |
SchemaManager.replaceSequences() |
Drop and recreate all the receiver's sequences on the database for all of the loaded descriptors.
|