Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328510 - Allow Cache Interceptors to be notified when LAZY relationships are triggered
Summary: Allow Cache Interceptors to be notified when LAZY relationships are triggered
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P2 critical (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-22 15:59 EDT by Tom Ware CLA
Modified: 2022-06-09 10:30 EDT (History)
1 user (show)

See Also:


Attachments
proposed fix (16.72 KB, patch)
2010-10-22 16:03 EDT, Tom Ware CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Ware CLA 2010-10-22 15:59:45 EDT
Provide a callback to the IdentityMap code to let it know when lazy relationships are triggered and provide basic information about the object it was triggered for and the mapping that was triggered.
Comment 1 Tom Ware CLA 2010-10-22 16:03:35 EDT
Created attachment 181548 [details]
proposed fix
Comment 2 Tom Ware CLA 2010-10-22 16:26:09 EDT
Note: This introduces a new method into the CacheInterceptor interface.  Anyone explicily implementing CacheInterceptor will have to make a code change to absorb this patch.
Comment 3 Tom Ware CLA 2010-10-25 09:55:35 EDT
Fix checked into Trunk and 2.1.2

Tested with full regression for both JPA and Core

Reviewed by Gordon Yorke
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:30:08 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink