public class UpgradeTask51511ConvertNumericColumnsToBigints extends AbstractBootstrapUpgradeTask
| Modifier and Type | Field and Description |
|---|---|
static Predicate<DbmsBean.ColumnDefinition> |
IS_NUMERIC_19_COLUMN |
bootstrapManager, hibernateConfigerrors| Constructor and Description |
|---|
UpgradeTask51511ConvertNumericColumnsToBigints() |
| Modifier and Type | Method and Description |
|---|---|
void |
convertTables(Connection c,
Collection<String> tables,
Predicate<DbmsBean.ColumnDefinition> predicate,
int newType,
AtomicInteger successCounter,
AtomicInteger failureCounter) |
void |
doUpgrade()
Perform the upgrade.
|
getDatabaseConnection, getDialect, setBootstrapManager, setHibernateConfig, withDatabaseConnectiongetBuildNumber, getErrors, getShortDescriptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBuildNumber, getErrors, getShortDescriptionpublic static final Predicate<DbmsBean.ColumnDefinition> IS_NUMERIC_19_COLUMN
public UpgradeTask51511ConvertNumericColumnsToBigints()
public void doUpgrade()
throws Exception
UpgradeTaskException - to signalize error during upgrade processpublic void convertTables(Connection c, Collection<String> tables, Predicate<DbmsBean.ColumnDefinition> predicate, int newType, AtomicInteger successCounter, AtomicInteger failureCounter) throws SQLException
SQLExceptionCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.