Community
Participate
Working Groups
Build Identifier: 2.0.2.v20100323-r6872 EclipseLink allows to execute read and write operations immediately after EclipseLink session login. This can lead to problems with stale objects if cache coordination is configured. A example scenario that would run into problems with stale objects is described in "Steps to Reproduce". Reproducible: Always Steps to Reproduce: Problem Scenario: 1. Cluster Node C1 starts EclipseLink session S1. 2. S1 sends announcement but does not get a response because there is no other session taking part in the coordinated cache yet. 3. Cluster node C2 starts EclipseLink session S2. 4. C2 reads entity objects using S2. 5. C1 updates the same entity objects using S1, but does not propagate changes as S2 had not send the announcement yet. 6. S2 sends announcement and joins the coordinated cache. 6.1. Now S2 has stale instances of the entities updated by S1 in the shared cache. 6.2. Updating this objects will fail with a lock exception if locking had been configured.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink