[hibernate-issues] [Hibernate-JIRA] Commented: (BVAL-202) Apply constraints on the elements of an iterator

jason (JIRA) noreply at atlassian.com
Fri Jan 20 14:48:10 EST 2012


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

jason commented on BVAL-202:
----------------------------

JSR 308 does not seem to be helpful for array fields.
But appliesTo/ConstraintTarget can do the job for arrays as well as primitive collections.

> Apply constraints on the elements of an iterator
> ------------------------------------------------
>
>                 Key: BVAL-202
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/BVAL-202
>             Project: Bean Validation
>          Issue Type: New Feature
>          Components: spec-general
>            Reporter: Emmanuel Bernard
>            Assignee: Hardy Ferentschik
>
> The use case is the ability to ask a constraint to be applied, not on the annotated element itself but on the elements contained by the annotated element (typically an Iterator). Hardy and I have been discussing various options. I will list them in various comments

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