[jboss-user] [EJB 3.0] - org.hibernate.LazyInitializationException

deepasenthil do-not-reply at jboss.com
Fri Aug 10 06:08:43 EDT 2007


I am getting the org.hibernate.LazyInitializationException while retrieving the records,

if i change to query 

list = manager.createQuery("from ProjectObject as u join u.ProjectObject as ProjectObject where  	(u.projectName = :projectName)").getResultList();

			manager.getTransaction().commit();

Query Exception i am gettting...


Any solution for that.



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

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



More information about the jboss-user mailing list