[jboss-user] [JBoss Seam] - Re: Scope of EntityManager

youngm do-not-reply at jboss.com
Tue Dec 18 20:00:36 EST 2007


So can you consistently get the error hitting that richfaces url?  The strange thing is that if it's hitting the SeamPhaseListener then it should be creating a conversation.

What it sounds like is the transaction is getting started before the conversation is started.  However, the Seam transaction abstraction is supposed to take that into account.  If you'll notice there is an attribute on spring:transaction that says if this transaction requires a conversation context or not.  By default this is set to true so you should be fine.  Could you try debugging through the SeamPhaseListener to see if it really is trying to start a transaction before the conversation is created?

Mike

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

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



More information about the jboss-user mailing list