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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...