[jboss-user] [JBoss Portal] - Re: Hibernate Open Session In View (in Portlet)

PMN do-not-reply at jboss.com
Wed Mar 26 10:20:53 EDT 2008


If you access an hibernate object outside the scope of the hibernate session where it has been loaded or saved, then before accessing a "lazy" property you have to open a new session and reattach the object to the new session. Check the hibernate session interface to do that  - I believe it's update() ...

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

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



More information about the jboss-user mailing list