public abstract class AbstractConstraintCreationUpgradeTask extends AbstractUpgradeTask implements DatabaseUpgradeTask
| Modifier and Type | Field and Description | 
|---|---|
static org.slf4j.Logger | 
log  | 
protected org.hibernate.SessionFactory | 
sessionFactory  | 
| Constructor and Description | 
|---|
AbstractConstraintCreationUpgradeTask(org.hibernate.SessionFactory sessionFactory)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected abstract void | 
doBeforeUpgrade(org.hibernate.Session session,
               org.springframework.jdbc.core.JdbcTemplate template)  | 
void | 
doUpgrade()
Perform the upgrade. 
 | 
protected abstract List<String> | 
getSqlStatementsFromPropertiesFile()  | 
protected static List<String> | 
getSqlStatementsFromPropertiesFile(String propertiesFile)  | 
static boolean | 
uniqueAllowsMultipleNullValues()  | 
addAllErrors, addError, addError, getBuildNumber, getConstraint, getErrors, getName, getShortDescription, isDatabaseUpgrade, setBeanName, setBuildNumber, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConstraint, getErrors, validategetBuildNumber, getName, getShortDescription, isDatabaseUpgradebreaksBackwardCompatibility, runOnSpaceImportpublic static final org.slf4j.Logger log
protected final org.hibernate.SessionFactory sessionFactory
public AbstractConstraintCreationUpgradeTask(org.hibernate.SessionFactory sessionFactory)
protected abstract List<String> getSqlStatementsFromPropertiesFile()
protected static List<String> getSqlStatementsFromPropertiesFile(String propertiesFile)
protected abstract void doBeforeUpgrade(org.hibernate.Session session,
                                        org.springframework.jdbc.core.JdbcTemplate template)
public final void doUpgrade()
                     throws Exception
UpgradeTaskdoUpgrade in interface UpgradeTaskExceptiondoUpgrade(JdbcTemplate)public static boolean uniqueAllowsMultipleNullValues()
Copyright © 2003–2017 Atlassian. All rights reserved.