[jboss-user] [JBoss Seam] - Re: PropertyNotFoundException, something I am overlooking...

griffitm do-not-reply at jboss.com
Thu Oct 18 10:47:28 EDT 2007


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



More information about the jboss-user mailing list