[hibernate-issues] [Hibernate-JIRA] Commented: (HV-381) Provide a fail fast switch to stop processing constraints on first failure

Gunnar Morling (JIRA) noreply at atlassian.com
Tue Feb 8 16:06:05 EST 2011


    [ http://opensource.atlassian.com/projects/hibernate/browse/HV-381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=39881#action_39881 ] 

Gunnar Morling commented on HV-381:
-----------------------------------

When discussing this issue on hibernate-dev last year there was the idea of introducing a numeric parameter representing the maximum violations allowed instead of a boolean parameter, see http://lists.jboss.org/pipermail/hibernate-dev/2010-October/005613.html. I still like that approach, it is just a bit more flexible. WDYT?

> Provide a fail fast switch to stop processing constraints on first failure
> --------------------------------------------------------------------------
>
>                 Key: HV-381
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-381
>             Project: Hibernate Validator
>          Issue Type: Bug
>          Components: engine
>    Affects Versions: 4.1.0.Final
>            Reporter: Emmanuel Bernard
>            Assignee: Emmanuel Bernard
>             Fix For: 4.2.0.Beta2
>
>
> On first failure, HS should stop processing constraint failures and return straight.
> This should be both a {{ValidatorFactory}} setting and a {{Validator}} setting.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list