Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 343613

Summary: Cache entries marked as invalid should be updated by the merge not just merged
Product: z_Archived Reporter: Gordon Yorke <gordon.yorke>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P2 CC: eclipselink.foundation-inbox
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed Patch none

Description Gordon Yorke CLA 2011-04-21 15:47:32 EDT
If a Cache entry is Invalid when entity changes are being merged into the cache then the entire Entity should be merged into the cache to reflect the latest code instead of just the changes.
Comment 1 Gordon Yorke CLA 2011-04-21 16:25:52 EDT
Created attachment 193885 [details]
Proposed Patch

This patch also includes changes to notify the cache when a merge is occurring in case the Cache implementation needs to flag the CacheKey.
Comment 2 Gordon Yorke CLA 2011-05-04 16:37:07 EDT
This is not the best approach to resolve the underlying issue as it depends on version locking and there are use cases where changes could be lost.
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:24:52 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink