Interface OracleChangeEventMetadata

All Superinterfaces:
ChangeEventMetadata

public sealed interface OracleChangeEventMetadata extends ChangeEventMetadata
Oracle-specific metadata for a row-level Continuous Query Notification event.

Instances are supplied by the Oracle notification provider. The reported table identifiers preserve Oracle's spelling and case without SQL identifier quoting.

A ROWID is a row-location hint, not a stable entity identifier. Oracle can reuse it after a committed delete or change it during row movement. A deferred reload can therefore return a different row or no row. When identity matters, compare the reloaded primary key with an independently known expected id, or reconcile the registered data. The notification does not provide the original primary key.

Since:
5.3.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the row-location hint supplied by Oracle Database for this notification.
    @Nullable String
    Returns the schema (table owner) reported by Oracle Database.
    Returns the unqualified table name reported by Oracle Database.
  • Method Details

    • rowId

      String rowId()
      Returns the row-location hint supplied by Oracle Database for this notification.
      Returns:
      The reported Oracle ROWID; it may be reused or changed before entity reload.
    • schema

      @Nullable String schema()
      Returns the schema (table owner) reported by Oracle Database.
      Returns:
      The reported schema, or null when the notification supplies an unqualified table name.
    • table

      String table()
      Returns the unqualified table name reported by Oracle Database.
      Returns:
      The reported table name, preserving its case and literal identifier characters.