My Oracle Support Banner

An Example On How to Use Database Change Notification in the 11g JDBC Driver (Doc ID 454958.1)

Last updated on MAY 15, 2023

Applies to:

JDBC - Version 11.1.0.6 and later
Information 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.

This feature works against a 11g database and a 10g release 2 database, other earlier versions of the database cannot be used.

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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.