This content has been marked as final.
Show 4 replies
-
1. Re: Hibernate Configuration
zenig.szimmerman.sunshineradiology.com Jun 1, 2011 4:18 PM (in response to zenig.szimmerman.sunshineradiology.com)I am using Seam 2.2.0GA on Glassfish 2.1.1. The Hibernate version is the standard provided within Seam 2.2.0GA.
-
2. Re: Hibernate Configuration
zenig.szimmerman.sunshineradiology.com Jun 1, 2011 4:39 PM (in response to zenig.szimmerman.sunshineradiology.com)I changed the scope to Page and it seems to be doing the trick.
@Name("serviceTableBean") @Scope(ScopeType.PAGE) public class ServiceTableBean implements Serializable { @In private Session session; ... }
But, still leaves the question, should I use the JPA delegate for a session or should I use the Seam-managed Hibernate session?
-
3. Re: Hibernate Configuration
zenig.szimmerman.sunshineradiology.com Jun 1, 2011 7:14 PM (in response to zenig.szimmerman.sunshineradiology.com)I am sure this didn't help: here. I added the @BypassInterceptors on the @Remove methods of the Event scoped beans that inject the Session.
-
4. Re: Hibernate Configuration
zenig.szimmerman.sunshineradiology.com Jun 2, 2011 10:49 AM (in response to zenig.szimmerman.sunshineradiology.com)I have decided to move towards the Seam-managed Hibernate session long-term. I am having an issue setting it up seen here: here.