Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Cache L2 sharing objects with managed entities(Cache L2 sharing objects with managed entities)
Cache L2 sharing objects with managed entities [message #1793834] Thu, 16 August 2018 16:52
I P is currently offline I PFriend
Messages: 1
Registered: August 2018
Junior Member
Hello guys,

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?
Previous Topic:EclipseLink-Moxy Unable to load custom DomHandler in OSGI environment
Next Topic:LocalDate and LocalDateTime fields are not mapped to correct database types
Goto Forum:

Current Time: Fri Sep 21 08:37:10 GMT 2018

Powered by FUDForum. Page generated in 0.01271 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top