[hibernate-dev] Fail fast feature for Hibernate Validator

Emmanuel Bernard emmanuel at hibernate.org
Mon Oct 4 09:45:34 EDT 2010


http://github.com/emmanuelbernard/hibernate-validator/commits/failFast

What do you guys think?

The idea is to stop a the first failure.
You can enable that :
 - by property
 - at config time
 - when the Validator is created

Look at 
http://github.com/emmanuelbernard/hibernate-validator/blob/failFast/hibernate-validator/src/test/java/org/hibernate/validator/test/engine/failFast/FailFastTest.java 
for code examples.

Emmanuel





More information about the hibernate-dev mailing list