Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 340084 - cache retrieve mode ignored when reading through Unit Of Work
Summary: cache retrieve mode ignored when reading through Unit Of Work
Status: RESOLVED FIXED
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-03-15 15:47 EDT by Gordon Yorke CLA
Modified: 2022-06-09 10:22 EDT (History)
1 user (show)

See Also:


Attachments
Patch (1.38 KB, patch)
2011-03-15 16:08 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-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