public abstract class BaseUpgradeDBColumnSize extends UpgradeProcess
UpgradeProcess.Alterable, UpgradeProcess.AlterColumnName, UpgradeProcess.AlterColumnType, UpgradeProcess.AlterTableAddColumn, UpgradeProcess.AlterTableDropColumn
connection
Constructor and Description |
---|
BaseUpgradeDBColumnSize(DBType dbType,
String oldColumnType,
int size) |
Modifier and Type | Method and Description |
---|---|
protected void |
doUpgrade() |
protected abstract void |
upgradeColumn(String tableName,
String columnName) |
alter, clearIndexesCache, getIndexesSQL, getTableColumnsMap, getTableName, getThreshold, increment, increment, increment, isPortal62TableName, isSkipUpgradeProcess, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, normalizeName, upgrade, upgrade, upgrade, upgrade, upgradeTable, upgradeTable
doHasTable, hasColumn, hasColumnType, hasColumnType, hasRows, hasRows, hasTable, runSQL, runSQL, runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateString
public BaseUpgradeDBColumnSize(DBType dbType, String oldColumnType, int size)
protected void doUpgrade() throws Exception
doUpgrade
in class UpgradeProcess
Exception
protected abstract void upgradeColumn(String tableName, String columnName) throws Exception
Exception