I'm using a ManagedHibernateSession with a SeamExtendedManagedPersistencePhaseListener. When Seam renders the view, it starts the 2nd transaction successfully. However, it is not attaching any of my entities to a Hibernate Session. This causes LazyInitializationExceptions whenever I try to access a lazily-initialized property on one of my entities from my view.
The workaround that I am currently using is to reattach my entities manually. Basically, in the first getter that is called from the view, I'm calling sessionFactory.getCurrentSession().update(myEntity). But from what I can tell looking at the Seam docs, this shouldn't be necessary. Any suggestions as to how I might try to track down the problem? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954770#3954770 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954770 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user