Class ConstraintChecker
java.lang.Object
com.atlassian.confluence.internal.upgrade.constraint.ConstraintChecker
Check if a constraint exists. Works with all supported Database vendors.
- Since:
- 7.1.0
-
Constructor Summary
ConstructorsConstructorDescriptionConstraintChecker
(com.atlassian.config.db.HibernateConfig hibernateConfig, org.hibernate.SessionFactory sessionFactory) -
Method Summary
-
Constructor Details
-
ConstraintChecker
public ConstraintChecker(com.atlassian.config.db.HibernateConfig hibernateConfig, org.hibernate.SessionFactory sessionFactory)
-
-
Method Details
-
exists
public boolean exists(String table, String name, List<String> uniqueColumns) throws UpgradeException - Throws:
UpgradeException
-