[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-2980) Error "org.hibernate.HibernateException: cannot simultaneously fetch multiple bags" not specific enough
Steve Ebersole (JIRA)
noreply at atlassian.com
Mon Jun 8 11:33:13 EDT 2009
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Ebersole updated HHH-2980:
--------------------------------
Assignee: Steve Ebersole
Fix Version/s: 3.5
3.3.x
3.2.x
Component/s: core
I can offer adding a new exception type which captures the bag 'collection roles' (collection roles are the names of the collections in the form OwnerEntityName.collectionPropertyName). The message will remain the same, but the new type will expose a "Set/*<String>*/ getBagRoles()" method
> 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
> Components: core
> Affects Versions: 3.2.5
> Reporter: Dobes Vandermeer
> Assignee: Steve Ebersole
> Priority: Minor
> Fix For: 3.2.x, 3.3.x, 3.5
>
>
> 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