HHH-14160 Use a runtime used class for testing Bean Validation presence

This commit is contained in:
Guillaume Smet 2020-08-20 15:18:56 +02:00 committed by Sanne Grinovero
parent 4e868f0372
commit fe74ad4270
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ public class BeanValidationIntegrator implements Integrator {
public static final String APPLY_CONSTRAINTS = "hibernate.validator.apply_to_ddl"; public static final String APPLY_CONSTRAINTS = "hibernate.validator.apply_to_ddl";
public static final String BV_CHECK_CLASS = "javax.validation.Validation"; public static final String BV_CHECK_CLASS = "javax.validation.ConstraintViolation";
public static final String MODE_PROPERTY = "javax.persistence.validation.mode"; public static final String MODE_PROPERTY = "javax.persistence.validation.mode";