|Cache L2 sharing objects with managed entities [message #1793834]
||Thu, 16 August 2018 16:52
| I P
Registered: August 2018
Having the following structure:
Entity A -> includes an embedded component Address
L2 cache enabled, FULL type, the default one from EclipseLink
During a transaction, before commit time, if we modify the embedded component from a managed entity A, it is instantly reflected in the L2 cache.
We observed that behavior when debugging the L2 cache, more precise using the CacheImpl class (get object method). We observed that the managed entity object shares the same instance of embedded Address with the entity A object resulted from cache.
My question is, did someone else ever experienced this behavior? Does anyone have a solution for this?
Powered by FUDForum
. Page generated in 0.01271 seconds