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

Bug 369273

Summary: Foundation should cache CacheKey on enhanced entity to prevent double cache lookup when cloning relationships
Product: z_Archived Reporter: Gordon Yorke <gordon.yorke>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED 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
Final Patch
none
additional update
none
Update to check for null none

Description Gordon Yorke CLA 2012-01-20 13:54:27 EST
When EclipseLink clones a relationship into a UnitOfWork for each element in that relationship the cache will be accessed twice.  By caching the cacheKey on the enhanced entity we can prevent subsequent unneeded lookups.
Comment 1 Gordon Yorke CLA 2012-01-24 13:37:45 EST
Created attachment 209992 [details]
proposed Patch
Comment 2 Gordon Yorke CLA 2012-01-24 14:36:49 EST
Created attachment 209999 [details]
Final Patch
Comment 3 Gordon Yorke CLA 2012-01-25 12:19:30 EST
Patch checked in
Reviewed by James Sutherland
Comment 4 Gordon Yorke CLA 2012-01-31 15:02:19 EST
Created attachment 210332 [details]
additional update
Comment 5 Gordon Yorke CLA 2012-02-01 11:00:35 EST
Created attachment 210379 [details]
Update to check for null
Comment 6 Eclipse Webmaster CLA 2022-06-09 10:16:23 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 7 Eclipse Webmaster CLA 2022-06-09 10:20:51 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink