Oracle DCN: Is It Possible to Change Order of Notification Within a Single Transaction? (Doc ID 1312439.1)

Last updated on MARCH 08, 2017

Applies to:

JDBC - Version 11.1.0.6 to 11.2.0.2.0 [Release 11.1 to 11.2]
Information in this document applies to any platform.

Goal

You are using the JDBC driver to perform an insert followed by an update, in that order, within a single transaction.  When using Oracle Data Change Notification (DCN), the order of the notifications about these actions varies -- sometimes the update notification comes first, sometimes the insert.

Is there some way to ensure that notification of the first action (the insert) always comes before the second action (the update) ... even when they take place within a single transaction, in which all actions are committed at the same time, short of separating the DML out into separate transactions?


Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms