/** * Execute any statements required before the deletion of the object * @param session * @param dropSchemaWriter */ public void preDropObject(AbstractSession session, Writer dropSchemaWriter, boolean createSQLFiles) { if ((session.getPlatform().shouldCreateIndicesForPrimaryKeys()) || (session.getPlatform().shouldCreateIndicesOnUniqueKeys())) { // Do not drop index when database is Symfoware. Index is required for primary keys or unique keys. return; } buildTableDefinition().preDropObject(session, dropSchemaWriter, createSQLFiles); }
/** * Execute any statements required before the deletion of the object * @param session * @param dropSchemaWriter */ public void preDropObject(AbstractSession session, Writer dropSchemaWriter, boolean createSQLFiles) { if ((session.getPlatform().shouldCreateIndicesForPrimaryKeys()) || (session.getPlatform().shouldCreateIndicesOnUniqueKeys())) { // Do not drop index when database is Symfoware. Index is required for primary keys or unique keys. return; } buildTableDefinition().preDropObject(session, dropSchemaWriter, createSQLFiles); }
TableDefinition tableDefinition = ((TableSequenceDefinition) definition).buildTableDefinition();
TableDefinition tableDefinition = ((TableSequenceDefinition) definition).buildTableDefinition();