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

Arthur Ronald F D Garcia (JIRA) noreply at atlassian.com
Fri Oct 22 13:12:50 EDT 2010


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

Arthur Ronald F D Garcia commented on BVAL-208:
-----------------------------------------------

If @Valid annotation supports groups attribute, javax.validation API may have INCONSISTENT behavior because the validated group MUST BE PROPAGATED to its referenced objects annotated with @Valid annotation.

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