public class ClientH2DB extends ClientBase implements IMigrationClient
Constructor and Description |
---|
ClientH2DB() |
Modifier and Type | Method and Description |
---|---|
void |
alterColumn(String tableName,
String columnName,
String columnDefinition) |
void |
dropSequence(String sequenceName) |
void |
renameColumn(String tableName,
String oldColumnName,
String newColumnName) |
void |
renameTable(String tableName,
String newTableName) |
addColumn, createIndex, createTable, dropColumn, dropTable, dropTable, executeRaw, getAdminUser, getColumnName, getDatabaseSchemaVersion, getDatabaseSchemaVersionInt, getIndexName, getRow, getRow, getRows, getRowsByQuery, getSequenceName, getTableName, hasColumn, hasTable, renameSequence
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addColumn, createIndex, createTable, dropColumn, dropTable, dropTable, executeRaw, getAdminUser, getColumnName, getDatabaseSchemaVersion, getDatabaseSchemaVersionInt, getRow, getRow, getRows, getTableName, hasColumn, hasTable, renameSequence
public void renameColumn(String tableName, String oldColumnName, String newColumnName) throws SQLException
renameColumn
in interface IMigrationClient
SQLException
public void alterColumn(String tableName, String columnName, String columnDefinition) throws SQLException
alterColumn
in interface IMigrationClient
SQLException
public void renameTable(String tableName, String newTableName) throws SQLException
renameTable
in interface IMigrationClient
SQLException
public void dropSequence(String sequenceName) throws SQLException
dropSequence
in interface IMigrationClient
SQLException
Copyright © 2015–2019. All rights reserved.