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

Hardy Ferentschik (JIRA) noreply at atlassian.com
Thu Sep 15 04:07:52 EDT 2011


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

Hardy Ferentschik commented on BVAL-208:
----------------------------------------

{quote}
Note that I had in mind to reuse @Valid but it might be better to have one (or even two) additional annotations for these notions (ie the cascading, the group translation, the method-levle group definition.
{quote}

+1 for new annotations. I think just reusing _ at Valid_ will cause more problems than it solves. 

> @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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list