mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-23 11:47:40 +00:00
HHH-8492: Making the validator factory available via EntityManagerFactory.getProperties().get("javax.persistence.validation.factory").
This commit is contained in:
parent
580af7e61b
commit
93a67bec94
@ -889,6 +889,7 @@ private void processProperties() {
|
||||
if ( validationFactory != null ) {
|
||||
BeanValidationIntegrator.validateFactory( validationFactory );
|
||||
serviceRegistryBuilder.applySetting( AvailableSettings.VALIDATION_FACTORY, validationFactory );
|
||||
configurationValues.put( AvailableSettings.VALIDATION_FACTORY, this.validatorFactory );
|
||||
}
|
||||
|
||||
// flush before completion validation
|
||||
|
Loading…
x
Reference in New Issue
Block a user