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

Gunnar Morling (JIRA) noreply at atlassian.com
Sun Apr 25 12:47:37 EDT 2010


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

Gunnar Morling commented on BVAL-202:
-------------------------------------

Would #1 to #3 work at all that way? Can one have the same annotation multiple times at the same element? Doing so gives me the compiler error "duplicate annotation".

The type-annotations approach seems interesting, will that be part of Java 7? JSR 308 is currently in state "inactive", though this shouldn't be a problem according to [FAQ: Is JSR 308 inactive?|http://groups.google.com/group/jsr308-discuss/browse_thread/thread/2b28e36d056367cf/f94749ae38fb47b6?lnk=raot#f94749ae38fb47b6].

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