Upgrading from beta1 to CR2. Continuing to use SeamExtendedManagedPhaseListener as always. I have a Session scoped component that holds an entity reference. However, I'm now receiving a LazyInitializationException when accessing that entity on the "next" request:
| org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.x.site.SiteOwner.siteList, no session or session was closed | at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:358) | at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:350) | at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:343) | at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:86) | at org.hibernate.collection.PersistentBag.iterator(PersistentBag.java:246) | at com.sun.facelets.tag.jstl.core.ForEachHandler.toIterator(ForEachHandler.java:254) | I never received LazyInitializationException's in beta 1 and am wondering what I might need to change to avoid them again. Thanks, Ryan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3939963#3939963 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3939963 ------------------------------------------------------- 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