]
Doug Bateman commented on EJB-217:
----------------------------------
It appears this is captured in HHH-1718.
Multiple @OneToMany(fetch=FetchType.EAGER) relationships not
supported
-----------------------------------------------------------------------
Key: EJB-217
URL:
http://opensource.atlassian.com/projects/hibernate/browse/EJB-217
Project: Hibernate Entity Manager
Issue Type: Bug
Affects Versions: 3.2.0.cr1
Environment: JBoss4.0.4.GA
Reporter: MichaĆ Borowiecki
Having more than one relationship on en entity annotated with
@OneToMany(fetch=FetchType.EAGER) causes exception when deploying the ejb3 module:
org.hibernate.HibernateException: cannot simultaneously fetch multiple bags.
This bug is thoroughly explained here:
http://www.jroller.com/page/eyallupu?entry=hibernate_exception_simultaneo...
and depends on HHH-1718 "Have multiple bag fetches revert to subselect fetching for
all but one of the bags"
The temporary solution in HHH-1413 - disallowing multiple bag fetches is unsuitable to
ejb3 environment, because the spec does not disallow it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: