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

Bug 340084

Summary: cache retrieve mode ignored when reading through Unit Of Work
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
Patch none

Description Gordon Yorke CLA 2011-03-15 15:47:58 EDT
When reading through a unit of work with both cache.retrieveMode and cache.storeMode set to bypass the cache is still accessed.

The fix is to simply move the existing retriveMode check to eliminate access to the cache.
Comment 1 Gordon Yorke CLA 2011-03-15 16:08:24 EDT
Created attachment 191243 [details]
Patch
Comment 2 Gordon Yorke CLA 2011-04-01 16:09:41 EDT
This is already fixed in 2.3
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:22:58 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink