An Example On How to Use Database Change Notification in the 11g JDBC Driver
(Doc ID 454958.1)
Last updated on FEBRUARY 20, 2025
Applies to:
JDBC - Version 11.1.0.6 and laterInformation in this document applies to any platform.
Goal
With the introduction of the 11g JDBC driver it now has a new features which supports changes made at the database level to be sent to the JDBC client program. The 11g release 1 (11.1) Oracle JDBC drivers provide support for the Database Change Notification feature of Oracle Database. Using this functionality of the JDBC drivers, multi-tier systems can take advantage of the Database Change Notification feature to maintain a data cache as updated as possible by receiving invalidation events from the JDBC drivers.
The example below is using table registration for its notification.
In the examples below , user details / company name / address / email / telephone number represent a fictitious sample (based upon made up data used in the Oracle Demo instance). Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |
Steps |
More Information |