Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 343613 - Cache entries marked as invalid should be updated by the merge not just merged
Summary: Cache entries marked as invalid should be updated by the merge not just merged
Status: RESOLVED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-21 15:47 EDT by Gordon Yorke CLA
Modified: 2022-06-09 10:24 EDT (History)
1 user (show)

See Also:


Attachments
Proposed Patch (32.91 KB, patch)
2011-04-21 16:25 EDT, Gordon Yorke CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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