Class LiquibaseHibernateValidator
java.lang.Object
com.peterphi.std.guice.liquibase.hibernate.LiquibaseHibernateValidator
- All Implemented Interfaces:
HibernateConfigurationValidator
Hibernate Configuration Validator that makes sure database has all appropriate liquibase migrations applied before hibernate
is
permitted to access the database.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate
(org.hibernate.cfg.Configuration hibernateConfiguration, Properties hibernateProperties, GuiceConfig environmentConfiguration)
-
Constructor Details
-
LiquibaseHibernateValidator
public LiquibaseHibernateValidator()
-
-
Method Details
-
validate
public void validate(org.hibernate.cfg.Configuration hibernateConfiguration, Properties hibernateProperties, GuiceConfig environmentConfiguration) - Specified by:
validate
in interfaceHibernateConfigurationValidator
-