[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2980) Error "org.hibernate.HibernateException: cannot simultaneously fetch multiple bags" not specific enough

Chris Volk (JIRA) noreply at atlassian.com
Sun Jun 7 22:23:14 EDT 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=33355#action_33355 ] 

Chris Volk commented on HHH-2980:
---------------------------------

My 2 cents on this (as a long time, happy Hibernate user) is that I understand that the cause of the exception is complex, but the actual title of this JIRA is that the wording is not specific enough, which I agree with.  I'd love to see the simple addition of the offending entity-/class-name so I don't have to go through all our entities to see who is causing the problem.  Seems like a 2 second fix to me, but what do I know of the internals here? ;-)


> Error "org.hibernate.HibernateException: cannot simultaneously fetch multiple bags" not specific enough
> -------------------------------------------------------------------------------------------------------
>
>                 Key: HHH-2980
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2980
>             Project: Hibernate Core
>          Issue Type: Improvement
>    Affects Versions: 3.2.5
>            Reporter: Dobes Vandermeer
>            Priority: Minor
>
> When I get this exception:
> org.hibernate.HibernateException: cannot simultaneously fetch multiple bags
> I don't know what to do except google.  Why not spruce it up a little to say something like:
> For class X, multiple collection fields are marked for eager fetching: a, b, c; this is not supported by Hibernate in releases after 3.2.x

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