hferentschik/hibernate-validator — comment on commit daf96f2d524feaf62983bd7e8e7626e8bb02ea5a
File: hibernate-validator-integrationtest/src/test/java/org/hibernate/validator/integration/jbossas7/DefaultValidatorFactoryInPersistenceUnitIT.java line 86
By emmanuelbernard:

I am a little concerned by this approach as you make assumptions on how Hibernate Core behaves (in this case propagates the integration properties down to `getProperties`. I'd rather you save an illegal entity and catch the exception.