[hibernate-issues] [Hibernate-JIRA] Commented: (BVAL-208) @Valid should support groups attribute

Marc Schipperheyn (JIRA) noreply at atlassian.com
Fri May 7 10:35:48 EDT 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/BVAL-208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=36969#action_36969 ] 

Marc Schipperheyn commented on BVAL-208:
----------------------------------------

Hi, yes. In order not to have a huge amount of valeue objects, I use groups to select which attributes to include in validation.
With the @Valid option in Spring MVC, we can validate these Value Objects. It would be great to be able to select based on groups to limit the amount of Value Objects in the build.

> @Valid should support groups attribute
> --------------------------------------
>
>                 Key: BVAL-208
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/BVAL-208
>             Project: Bean Validation
>          Issue Type: Improvement
>    Affects Versions: 1.0 final
>            Reporter: Marc Schipperheyn
>
> The @Valid annotation should implement the group attribute in order to make validation completely annotation driven. Currently, we need to manually call the validate method on the validator if we want to validate based on groups.

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