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 9ea3a936fb
commit 0e5cb4d705
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 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";