[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: bidirectional OneToMany throws LazyInitializationExcepti

rabbiaqaswar do-not-reply at jboss.com
Tue Jun 26 03:50:00 EDT 2007


hi

i had the same problem with lazy loading of collections. so i moved to eager fetch strategy. but like your code, i had more than one collection in the same entity, when i changed them all to eager fetch i had some problems. so the link given below helped: 

http://www.jroller.com/page/eyallupu?entry=hibernate_exception_simultaneously_fetch_multiple

hope it helps.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057576#4057576

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057576



More information about the jboss-user mailing list