Search Results compare_old_values




Overview

SYS.DBMS_APPLY_ADM is an Oracle-supplied PL/SQL package that forms part of the Oracle Streams and Change Data Capture infrastructure shipped with the database tier underlying Oracle E-Business Suite 12.1.1 and 12.2.2. Its purpose is to administer apply processes, which are the components that consume captured logical change records from a queue and apply the corresponding DML and DDL operations to a destination database or schema. In an EBS context, this functionality supports near-real-time propagation of transactional data between environments, reporting instances, and data warehouses, and underpins logical standby and advanced replication topologies.

The package is owned by SYS and is exposed to the EBS APPLICATIONS schema through a public synonym. The ETRM metadata classifies the API as OTHER, meaning it is not an EBS business API in the sense of an Oracle Application Object Library interface, but a database-supplied utility invoked by the Streams framework itself and by the higher-level DBMS_STREAMS_ADM and DBMS_XSTREAM_ADM packages.

Key Procedures and Functions

The documented interface exposes 36 procedures and functions. The most significant groups are:

Parameter lists are not reproduced here; callers should consult the Oracle Database PL/SQL Packages and Types Reference for the exact signatures.

Tables Accessed

The ETRM metadata records no EBS application tables referenced through APPS synonyms. The package operates instead against the Oracle Streams data dictionary, including views such as ALL_APPLY_ERROR_MESSAGES and DBA_APPLY_ERROR_MESSAGES, which are listed as dependent objects. Internal packages including DBMS_APPLY_ADM_INTERNAL, DBMS_APPLY_ERROR, DBMS_STREAMS_ADM_UTL and DBMS_XSTREAM_ADM reference this package, confirming that it reads and writes Streams configuration and error state rather than EBS transactional tables.

Usage Notes

DBMS_APPLY_ADM is normally invoked indirectly. In EBS 12.1.1 and 12.2.2 it is reached through DBMS_STREAMS_ADM or DBMS_XSTREAM_ADM when administrators configure data propagation, and through DBMS_STREAMS_SM, DBMS_STREAMS_MT and DBMS_LOGREP_UTIL during internal framework operations. Direct calls are appropriate for custom Streams implementations, for example to restart a stalled apply process, to re-execute errors collected in the apply error queue, or to register a DML handler for a specific table. Because the package is owned by SYS, the executing account requires EXECUTE privilege and, for most operations, DBA-level authority; it should therefore be used sparingly and with change control in production EBS environments.