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

Gary Fleming (JIRA) noreply at atlassian.com
Tue May 18 11:21:11 EDT 2010


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

Gary Fleming commented on BVAL-208:
-----------------------------------

I've hit into this a couple of times, so would like to see it added. Additionally, there are two issues for this in the Spring JIRA, suggesting a custom annotation. I'd rather see this added to the spec, than have the functionality elsewhere:
http://jira.springframework.org/browse/SPR-6373
http://jira.springframework.org/browse/SPR-7062

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