public abstract class AbstractInHibernateTransactionUpgradeTask extends AbstractUpgradeTask implements HibernateUpgradeTask
errors
Modifier | Constructor and Description |
---|---|
|
AbstractInHibernateTransactionUpgradeTask(String shortDescription) |
protected |
AbstractInHibernateTransactionUpgradeTask(String buildNumber,
String shortDescription) |
Modifier and Type | Method and Description |
---|---|
void |
doUpgrade()
Perform the upgrade.
|
abstract void |
doUpgrade(Connection connection) |
void |
setBambooConnectionTemplate(BambooConnectionTemplate bambooConnectionTemplate) |
getBuildNumber, getErrors, getShortDescription
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBuildNumber, getErrors, getShortDescription
protected AbstractInHibernateTransactionUpgradeTask(@NotNull String buildNumber, @NotNull String shortDescription)
public AbstractInHibernateTransactionUpgradeTask(@NotNull String shortDescription)
public void doUpgrade() throws Exception
UpgradeTask
doUpgrade
in interface 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 © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.