[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2980?page=c...
]
Antoine Herzog commented on HHH-2980:
-------------------------------------
Hi,
it is true that the message is quite the minimum.
and it is true that, when there is some help (such as : "you should put
insertable=true, updatable=true..." or so...) it is great. Really great.
well, anyway, for people who come to this Jira : here is a forum post that is very
interesting about this issue.
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=82946
There is both some (more) explaination of the problem, and some nice workaround ways.
As Emmanuel says, it is not that simple... but there the explaination is nice... and the
workaround seems to be good in most of the case.
Hope it helps,
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