Class ConstraintChecker
- java.lang.Object
-
- com.atlassian.confluence.internal.upgrade.constraint.ConstraintChecker
-
public class ConstraintChecker extends Object
Check if a constraint exists. Works with all supported Database vendors.- Since:
- 7.1.0
-
-
Constructor Summary
Constructors Constructor Description ConstraintChecker(com.atlassian.config.db.HibernateConfig hibernateConfig, org.hibernate.SessionFactory sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
exists(String table, String name, List<String> uniqueColumns)
-
-
-
Method Detail
-
exists
public boolean exists(String table, String name, List<String> uniqueColumns) throws UpgradeException
- Throws:
UpgradeException
-
-