public abstract class AbstractInHibernateTransactionUpgradeTask extends AbstractUpgradeTask
errors
Modifier | Constructor and Description |
---|---|
|
AbstractInHibernateTransactionUpgradeTask(String shortDescription) |
protected |
AbstractInHibernateTransactionUpgradeTask(String buildNumber,
String shortDescription)
Deprecated.
since 5.13 - use
AbstractInHibernateTransactionUpgradeTask(String) instead |
Modifier and Type | Method and Description |
---|---|
void |
doUpgrade()
Perform the upgrade.
|
abstract void |
doUpgrade(Connection connection) |
void |
setBambooConnectionTemplate(BambooConnectionTemplate bambooConnectionTemplate) |
getBuildNumber, getErrors, getShortDescription
@Deprecated protected AbstractInHibernateTransactionUpgradeTask(@NotNull String buildNumber, @NotNull String shortDescription)
AbstractInHibernateTransactionUpgradeTask(String)
insteadpublic AbstractInHibernateTransactionUpgradeTask(@NotNull String shortDescription)
public void doUpgrade() throws Exception
UpgradeTask
Exception
- to signalize error during upgrade processpublic abstract void doUpgrade(@NotNull Connection connection) throws org.hibernate.HibernateException, SQLException
org.hibernate.HibernateException
SQLException
public void setBambooConnectionTemplate(BambooConnectionTemplate bambooConnectionTemplate)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.