|Re: No Cache Synchronization after em.clear? [message #642803 is a reply to message #642535]
||Thu, 02 December 2010 18:19
| James Sutherland
Registered: July 2009
Location: Ottawa, Canada
This is controlled by the "eclipselink.flush-clear.cache" persistence unit property. The modes are defined in FlushClearCache, the default is DropInvalidate which will not maintain change sets across a clear. You can set it to Merge to keep the change sets.|
The reason is that clear is normally used after a flush to process large transactions, where keeping the change sets until the commit would not be feasible, so they are dropped by default.
Technically we should invalidate the entire remote cache with DropInvalidate with cache coordination. You can log a bug for that.
James : Wiki : Book : Blog : Twitter
Powered by FUDForum
. Page generated in 0.01519 seconds