This content has been marked as final.
Show 1 reply
-
1. Re: How Atomic Conversation Can Be Implemented ?
bossdida Aug 15, 2010 11:35 AM (in response to bossdida)Whoever interests when I declare flush mode in components.xml as MANUAL
<core:manager concurrent-request-timeout="500"
conversation-timeout="120000"
conversation-id-parameter="cid"
parent-conversation-id-parameter="pid"
default-flush-mode="MANUAL"/>like this, it does atomic conversation. However when I declare it with annotation while begining a long-running conversation
@Create
@Begin(flushMode=FlushModeType.MANUAL)
public void init() { }
like this, it saves entity to DB at first encounter of entityManager.persist(whatsoever)Something is inconsistent here I guess