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

Bug 328510

Summary: Allow Cache Interceptors to be notified when LAZY relationships are triggered
Product: z_Archived Reporter: Tom Ware <tom.ware>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: CLOSED FIXED QA Contact:
Severity: critical    
Priority: P2 CC: eclipselink.foundation-inbox
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
proposed fix none

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