[jboss-user] [JBoss Seam] - Re: Conversations

gavin.king@jboss.com do-not-reply at jboss.com
Wed Jan 24 18:28:32 EST 2007


anonymous wrote : Let's say you have a conversation with several methods (one method called per request) and I use FlushMode.COMMIT/AUTO. If the first few requests in the conversation access a NEVER or NOT_SUPPORTED action method, and the next request accesses a REQUIRES (or similar) action method, would the persistence context be flushed when that REQUIRES method successfully returns? 

Yes.

anonymous wrote : Or would changes be flushed after every request because of the fact that there's always a transaction? 

If there is no container transaction, or Seam-managed transaction, the changes will not be flushed.

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

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



More information about the jboss-user mailing list