Class AbstractConstraintCreationUpgradeTask

    • Field Detail

      • log

        public static final org.slf4j.Logger log
      • sessionFactory

        protected final org.hibernate.SessionFactory sessionFactory
    • Constructor Detail

      • AbstractConstraintCreationUpgradeTask

        public AbstractConstraintCreationUpgradeTask​(org.hibernate.SessionFactory sessionFactory)
    • Method Detail

      • getSqlStatementsFromPropertiesFile

        protected abstract List<String> getSqlStatementsFromPropertiesFile()
      • getSqlStatementsFromPropertiesFile

        protected static List<String> getSqlStatementsFromPropertiesFile​(String propertiesFile)
      • doBeforeUpgrade

        protected abstract void doBeforeUpgrade​(org.hibernate.Session session,
                                                org.springframework.jdbc.core.JdbcTemplate template)
      • uniqueAllowsMultipleNullValues

        public static boolean uniqueAllowsMultipleNullValues()
        Returns:
        True if the current database allows multiple null values to be inserted in a column on which there is a unique constraint.