HHH-8550 - Order of remove/delete calls important for associated data

This commit is contained in:
Steve Ebersole 2013-09-25 13:29:45 -05:00
parent f2b272f468
commit 0062600296
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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" );
}
}