Oracle table change monitor

前端 未结 2 334
天涯浪人
天涯浪人 2020-12-09 00:10

I have a java application that is connected to a view on a remote Oracle db.

Does anyone know of a way in Java to monitor this table for changes? I.e. if there are

2条回答
  •  不知归路
    2020-12-09 00:44

    Look at Oracle Change Notification, a so interesting Oracle feature.

    From the Oracle documentation: "Database Change Notification is a feature that enables client applications to register queries with the database and receive notifications in response to DML or DDL changes on the objects associated with the queries. The notifications are published by the database when the DML or DDL transaction commits."

提交回复
热议问题