This content has been marked as final.
Show 3 replies
-
1. Re: @End commits entity changes!
gsegura Dec 6, 2007 3:53 PM (in response to whafrog)I think this is related to the flush mode of the conversation, look for @Begin(flushMode=FlushModeType.MANUAL),
I think that normally when conversation ends everything is flushed autommatically.
I just posted a somewhat related question but there the conversation is not finished and yet I'm having an update, ok, no more crossposting :P -
2. Re: @End commits entity changes!
whafrog Dec 6, 2007 3:54 PM (in response to whafrog)A call to "entityManager.clear()" seems to solve the problem. Still, you'd think implicit persistence is something you'd have to turn on, not code away.
-
3. Re: @End commits entity changes!
whafrog Dec 6, 2007 3:56 PM (in response to whafrog)"gsegura" wrote:
I think this is related to the flush mode of the conversation, look for @Begin(flushMode=FlushModeType.MANUAL),
I think that normally when conversation ends everything is flushed autommatically.
I just posted a somewhat related question but there the conversation is not finished and yet I'm having an update, ok, no more crossposting :P
Thanks, I'll check it out. Probably a better solution than clearing the entitymanager.