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

Bug 356812

Summary: support cache invalidation from database change events and Oracle DCN
Product: z_Archived Reporter: James Sutherland <jamesssss>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: douglas.clarke
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 356856    
Attachments:
Description Flags
initial dcn support
none
patch none

Description James Sutherland CLA 2011-09-06 09:42:32 EDT
Support an infrastructure for receiving database change events to invalidate the cache.

Support Oracle's Database Change event Notification.
Comment 1 James Sutherland CLA 2011-09-06 10:47:18 EDT
See,

http://wiki.eclipse.org/EclipseLink/DesignDocs/356812
Comment 2 James Sutherland CLA 2011-09-06 15:14:36 EDT
Created attachment 202835 [details]
initial dcn support
Comment 3 James Sutherland CLA 2011-09-14 11:14:45 EDT
Created attachment 203346 [details]
patch
Comment 4 James Sutherland CLA 2011-09-14 11:33:43 EDT
SVN trunk commit: Bug#356812 - database change notification

Code review: Andrei

Changes:
- Additional tests for relationships.
- Added DatabaseChangeNotificationType enum (NONE, INVALIDATE)
- Added databaseChangeNotificationType to @Cache
- Added "eclipselink.cache.database-event-listener" persistence unit property.
- Added databaseChangeNotificationType to CachePolicy
- Changed CachePoliy initialize to inherit CacheIndex, databaseChangeNotificationType, and cacheCoordinationType
- Added setCacheCoordinationType to CachePolicy taking the enum
- Renamed DatabaseEventNotificationListener to DatabaseEventListener.
- Updated OracleChangeNotificationListener to use new config and initialization.
- Updated eclipselink-orm schema with databaseChangeNotificationType
- Updated JPA metadata with databaseChangeNotificationType and "eclipselink.cache.database-event-listener"
- Remove unused MetadataHelper in metadata columns
- Fixed logging message for defaulting table when using orm.xml to print class name, not orm file name.
Comment 5 Doug Clarke CLA 2011-09-14 12:56:18 EDT
It would be great to have a declarative way to enable the database-change-listener without requiring a customizer.
Comment 6 James Sutherland CLA 2011-10-06 14:41:01 EDT
fixed
Comment 7 Eclipse Webmaster CLA 2022-06-09 10:22:56 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink