| java.lang.Object com.technoetic.xplanner.upgrade.schema.DBSchemaMigrater
DBSchemaMigrater | public class DBSchemaMigrater (Code) | | |
Field Summary | |
final protected static Logger | LOG |
Method Summary | |
public void | addForeignKeyConstraint(String table, String constraintName, String foreignKey, String referencedTable, String referencedKey) | public void | addIndex(String table, String name, String field, boolean unique) | public void | addPrimaryKey(String table, String primaryColumn) | public void | addPrimaryKey(String table, String[] primaryColumns) | public void | addUniqueConstraint(String table, String constraintName, String column) | public void | changePrimaryKey(String table, String[] primaryColumns) | public void | changePrimaryKey(String table, String primaryColumn) | public void | createTable(String table, String fieldSQL) | public boolean | doesForeignKeyConstraintExist(String table, String name) | public void | dropForeignKeyConstraint(String table, String constraintName) | public void | dropIndex(String table, String name) | public void | dropPrimaryKey(String table) | public void | dropTable(String table) | public void | dropUniqueConstraint(String table, String constraintName) | public boolean | isHsql() | public void | renameColumn(String table, String oldName, String newName) | public DBSchemaMigrater | withNoException() |
LOG | final protected static Logger LOG(Code) | | |
DBSchemaMigrater | public DBSchemaMigrater()(Code) | | |
doesForeignKeyConstraintExist | public boolean doesForeignKeyConstraintExist(String table, String name)(Code) | | |
dropForeignKeyConstraint | public void dropForeignKeyConstraint(String table, String constraintName)(Code) | | |
dropPrimaryKey | public void dropPrimaryKey(String table)(Code) | | |
dropUniqueConstraint | public void dropUniqueConstraint(String table, String constraintName)(Code) | | |
isHsql | public boolean isHsql()(Code) | | |
|
|