Arg! Now I am getting a LazyInitializationException:
| 09:34:39,137 ERROR [LazyInitializationException] could not initialize proxy
- no Session
| org.hibernate.LazyInitializationException: could not initialize proxy - no
Session when I execute my query:
deliverables = em.createQuery("select d from Deliverable d").getResultList();
How can I force all of the associations to be retrieved as well? Why is this
automatically done with EntityHome objects and not other queries?
Thanks in advance!
MG
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096593#4096593
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096593
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user