[hibernate-issues] [Hibernate-JIRA] Commented: (HV-219) @Valid annotation causes multiple calls of the collection getter when using multiple groups

Emmanuel Bernard (JIRA) noreply at atlassian.com
Sat Sep 12 01:04:50 EDT 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HV-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=33940#action_33940 ] 

Emmanuel Bernard commented on HV-219:
-------------------------------------

We are aware of such possibility see HV-161 and ideally this should not happen (unless you use group sequences). That's not too harmful though and we look at optimizing that as soon as time permits.

I will close your issue as duplicate. If you want to contribute a patch in this area don't hesitate to come and chat in the hibernate-dev mailing list, we can guide you through it.

> @Valid annotation causes multiple calls of the collection getter when using multiple groups
> -------------------------------------------------------------------------------------------
>
>                 Key: HV-219
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-219
>             Project: Hibernate Validator
>          Issue Type: Bug
>          Components: engine
>    Affects Versions: 4.0.0.CR1
>            Reporter: ryan
>
> Haven't spent time yet tracking down why this is, but resulting constraint violation collection seems to be correct.  Seems as though the additional calls to the collection getters are unnecessary if using multiple 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