Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356812 - support cache invalidation from database change events and Oracle DCN
Summary: support cache invalidation from database change events and Oracle DCN
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 356856
  Show dependency tree
 
Reported: 2011-09-06 09:42 EDT by James Sutherland CLA
Modified: 2022-06-09 10:22 EDT (History)
1 user (show)

See Also:


Attachments
initial dcn support (89.32 KB, patch)
2011-09-06 15:14 EDT, James Sutherland CLA
no flags Details | Diff
patch (82.26 KB, patch)
2011-09-14 11:14 EDT, James Sutherland CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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