[hibernate-issues] [Hibernate-JIRA] Created: (BVAL-222) Add a ALL group to validate all groups instead of DEFAULT or the selected ones

Emmanuel Bernard (JIRA) noreply at atlassian.com
Sun Mar 13 17:11:09 EDT 2011


Add a ALL group to validate all groups instead of DEFAULT or the selected ones
------------------------------------------------------------------------------

                 Key: BVAL-222
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/BVAL-222
             Project: Bean Validation
          Issue Type: New Feature
          Components: spec-general
            Reporter: Emmanuel Bernard


Gerhard
#2 it would be nice to have #validateAll or a group called javax.validation.groups.All to validate all groups without knowing the concrete groups.

Emmanuel
What's the use case they were invoking? ( my favorite mantra :) )

Gerhard
i think it was just: if you are using groups for partial validation you might have a wizard and in every step you validate with a different group and they needed the concept instead of collecting all groups manually (e.g. in the service which finally saves the new entry) -> they requested an api for validating every constraint which is available in the given object-graph -> the service can perform a full validation before it processes the data.

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