HHH-8550 - Order of remove/delete calls important for associated data
This commit is contained in:
parent
f2b272f468
commit
0062600296
|
@ -101,6 +101,7 @@ public class BeanValidationGroupsTest extends BaseCoreFunctionalTestCase {
|
|||
Default.class.getName() + ", " + Strict.class.getName()
|
||||
);
|
||||
cfg.setProperty( "hibernate.validator.apply_to_ddl", "false" );
|
||||
cfg.setProperty( "javax.persistence.validation.mode", "auto" );
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -87,5 +87,6 @@ public class BeanValidationProvidedFactoryTest extends BaseCoreFunctionalTestCas
|
|||
configuration.messageInterpolator( messageInterpolator );
|
||||
ValidatorFactory vf = configuration.buildValidatorFactory();
|
||||
cfg.getProperties().put( "javax.persistence.validation.factory", vf );
|
||||
cfg.setProperty( "javax.persistence.validation.mode", "AUTO" );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue