HHH-14160 Use a runtime used class for testing Bean Validation presence
This commit is contained in:
parent
4e868f0372
commit
fe74ad4270
|
@ -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";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue