public class UpgradeTask51511ConvertNumericColumnsToBigints extends AbstractBootstrapUpgradeTask
Modifier and Type | Field and Description |
---|---|
static Predicate<DbmsBean.ColumnDefinition> |
IS_NUMERIC_19_COLUMN |
applicationConfig, bootstrapManager, hibernateConfig
errors
Constructor and Description |
---|
UpgradeTask51511ConvertNumericColumnsToBigints() |
Modifier and Type | Method and Description |
---|---|
void |
convertTables(Connection c,
List<String> tables,
Predicate<DbmsBean.ColumnDefinition> predicate,
int newType,
AtomicInteger successCounter,
AtomicInteger failureCounter) |
void |
doUpgrade()
Perform the upgrade.
|
getApplicationBuildNumber, getDatabaseConnection, getDialect, setApplicationConfig, setBootstrapManager, setHibernateConfig, withDatabaseConnection
getBuildNumber, getErrors, getShortDescription
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBuildNumber, getErrors, getShortDescription
public static final Predicate<DbmsBean.ColumnDefinition> IS_NUMERIC_19_COLUMN
public UpgradeTask51511ConvertNumericColumnsToBigints()
public void doUpgrade() throws Exception
UpgradeTask
Exception
- to signalize error during upgrade processpublic void convertTables(Connection c, List<String> tables, Predicate<DbmsBean.ColumnDefinition> predicate, int newType, AtomicInteger successCounter, AtomicInteger failureCounter) throws SQLException
SQLException
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.