[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2980?page=c...
]
Emmanuel Bernard updated HHH-2980:
----------------------------------
Priority: Minor (was: Major)
No it's actually way more complex than that:
- eager fetching is not the problem per se
- using multiple joins in one SQL query is
- it's not limited to the static fetching strategy
- it has never been supported (property), because it's conceptually not possible
So really the best message we have found so far is "cannot simultaneously fetch
multiple bags"
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: Hibernate3
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira