Search Results dbms_defer_definer
Overview
DBMS_DEFER_DEFINER is a SYS-owned PL/SQL package that forms part of Oracle's Advanced Replication infrastructure, which underpins the deferred transaction queue used throughout Oracle E-Business Suite releases 12.1.1 and 12.2.2. In the EBS architecture, deferred remote procedure calls (RPCs) are queued locally and propagated to remote masters by the replication subsystem. The DBMS_DEFER_DEFINER package exists to manage the security context in which these deferred transactions execute: specifically, it supports the "deferred definer's rights" mechanism, allowing queued deferred calls to be executed under the privileges of the original definer rather than the session that eventually pushes the queue. Within EBS, this is relevant wherever multi-tier replication or multi-org data synchronization uses deferred RPCs, and where the invoking and executing schemas differ across database links. The package is registered in ETRM as VALID with an API classification of OTHER, indicating it is an internal Oracle-supplied utility rather than an EBS application-facing API.
Key Procedures and Functions
ETRM 12.2.2 documents zero public procedures or functions for SYS.DBMS_DEFER_DEFINER, and the standard Oracle export confirms the package specification exposes no supported callable entry points to customers. The package is therefore best understood as supporting infrastructure invoked internally by the replication engine rather than as a programmable API. Its functional role relates to establishing and validating the definer identity — by consequence of its name and dependency set — that the deferred transaction queue applies when re-executing stored deferred calls. No parameter lists are documented, and none should be assumed. Developers seeking supported operations on the deferred queue should use the documented DBMS_DEFER and DBMS_DEFER_QUERY packages instead, which are the officially exposed interfaces for enqueuing, querying, and administering deferred transactions.
Tables Accessed
Per the ETRM documentation, DBMS_DEFER_DEFINER references the table DEF$_DEFAULTDEST through APPS synonyms. DEF$_DEFAULTDEST is a core Advanced Replication dictionary table that records the default destination(s) for deferred transactions originating in the local database — that is, the target masters to which queued deferred RPCs are pushed when no explicit destination is supplied. The package's access to this table is consistent with its role in resolving the execution and routing context for deferred calls: determining the correct destination before the queue push, and validating which definer privileges apply at that destination. The dependency listing further shows the package references and is referenced by DBMS_DEFER and DBMS_DEFER_QUERY, confirming it is embedded in the same replication processing chain; there is no evidence that it reads or writes EBS application tables directly.
Usage Notes
DBMS_DEFER_DEFINER is not invoked from EBS forms, concurrent programs, or supported custom code. It is called implicitly by the Oracle replication engine, principally during queue propagation performed by job queue processes or by the deferred transaction push mechanisms that reference DEF$_DEFAULTDEST. EBS administrators encounter the object only indirectly: through database-level grants and synonyms created by AD utilities, through Advanced Replication or multi-master setup, or during diagnostics of deferred transaction errors logged in the DEF$_* tables. Because ETRM documents no public subprograms, it must be treated as an internal Oracle package; direct calls from custom code are unsupported and may break across patch levels. When troubleshooting deferred transaction or replication failures in EBS 12.1.1 or 12.2.2, the appropriate diagnostic path is to inspect the deferred queue views provided by DBMS_DEFER_QUERY and the DEF$_ tables, not to call DBMS_DEFER_DEFINER directly. Object status should be verified as VALID after any database upgrade, since an invalid replication package can silently halt queue propagation.
-
PACKAGE: SYS.DBMS_DEFER_DEFINER
12.1.1
owner:SYS, object_type:PACKAGE, object_name:DBMS_DEFER_DEFINER, status:VALID,
-
PACKAGE: SYS.DBMS_DEFER
12.1.1
owner:SYS, object_type:PACKAGE, object_name:DBMS_DEFER, status:VALID,
-
PACKAGE: SYS.DBMS_DEFER_DEFINER
12.2.2
owner:SYS, object_type:PACKAGE, object_name:DBMS_DEFER_DEFINER, status:VALID,
-
PACKAGE: SYS.DBMS_DEFER
12.2.2
owner:SYS, object_type:PACKAGE, object_name:DBMS_DEFER, status:VALID,
-
PACKAGE BODY: SYS.DBMS_DEFER_DEFINER
12.1.1
owner:SYS, object_type:PACKAGE BODY, object_name:DBMS_DEFER_DEFINER, status:VALID,
-
PACKAGE BODY: SYS.DBMS_DEFER_DEFINER
12.2.2
owner:SYS, object_type:PACKAGE BODY, object_name:DBMS_DEFER_DEFINER, status:VALID,
-
PACKAGE: SYS.DBMS_REPUTIL
12.2.2
owner:SYS, object_type:PACKAGE, object_name:DBMS_REPUTIL, status:VALID,
-
SYNONYM: SYS.DEF$_DEFAULTDEST
12.2.2
owner:SYS, object_type:SYNONYM, object_name:DEF$_DEFAULTDEST, status:VALID,
-
PACKAGE BODY: SYS.DBMS_DEFER
12.2.2
owner:SYS, object_type:PACKAGE BODY, object_name:DBMS_DEFER, status:VALID,
-
PACKAGE: SYS.DBMS_DEFER_INTERNAL_SYS
12.1.1
owner:SYS, object_type:PACKAGE, object_name:DBMS_DEFER_INTERNAL_SYS, status:VALID,
-
PACKAGE: SYS.DBMS_DEFER_ENQ_UTL
12.1.1
owner:SYS, object_type:PACKAGE, object_name:DBMS_DEFER_ENQ_UTL, status:VALID,
-
PACKAGE: SYS.DBMS_DEFER_INTERNAL_SYS
12.2.2
owner:SYS, object_type:PACKAGE, object_name:DBMS_DEFER_INTERNAL_SYS, status:VALID,
-
PACKAGE: SYS.DBMS_DEFER_SYS_PART1
12.2.2
owner:SYS, object_type:PACKAGE, object_name:DBMS_DEFER_SYS_PART1, status:VALID,
-
PACKAGE: SYS.DBMS_REPUTIL
12.1.1
owner:SYS, object_type:PACKAGE, object_name:DBMS_REPUTIL, status:VALID,
-
PACKAGE: SYS.DBMS_TRANSACTION
12.1.1
owner:SYS, object_type:PACKAGE, object_name:DBMS_TRANSACTION, status:VALID,
-
PACKAGE BODY: SYS.DBMS_DEFER
12.1.1
owner:SYS, object_type:PACKAGE BODY, object_name:DBMS_DEFER, status:VALID,
-
SYNONYM: SYS.DEF$_DEFAULTDEST
12.1.1
owner:SYS, object_type:SYNONYM, object_name:DEF$_DEFAULTDEST, status:VALID,
-
PACKAGE: SYS.DBMS_DEFER_QUERY
12.1.1
owner:SYS, object_type:PACKAGE, object_name:DBMS_DEFER_QUERY, status:VALID,
-
PACKAGE: SYS.DBMS_DEFER_QUERY
12.2.2
owner:SYS, object_type:PACKAGE, object_name:DBMS_DEFER_QUERY, status:VALID,
-
PACKAGE: SYS.DBMS_DEFER_DEFINER
12.2.2
-
PACKAGE: SYS.DBMS_DEFER_ENQ_UTL
12.2.2
owner:SYS, object_type:PACKAGE, object_name:DBMS_DEFER_ENQ_UTL, status:VALID,
-
PACKAGE: SYS.DBMS_SNAP_INTERNAL
12.2.2
owner:SYS, object_type:PACKAGE, object_name:DBMS_SNAP_INTERNAL, status:VALID,
-
PACKAGE: SYS.DBMS_DEFER_DEFINER
12.1.1
-
PACKAGE: SYS.DBMS_SNAP_INTERNAL
12.1.1
owner:SYS, object_type:PACKAGE, object_name:DBMS_SNAP_INTERNAL, status:VALID,
-
PACKAGE: SYS.DBMS_DB_VERSION
12.2.2
owner:SYS, object_type:PACKAGE, object_name:DBMS_DB_VERSION, status:VALID,
-
PACKAGE: SYS.DBMS_DEFER_SYS_PART1
12.1.1
owner:SYS, object_type:PACKAGE, object_name:DBMS_DEFER_SYS_PART1, status:VALID,
-
PACKAGE: SYS.DBMS_TRANSACTION
12.2.2
owner:SYS, object_type:PACKAGE, object_name:DBMS_TRANSACTION, status:VALID,
-
PACKAGE: SYS.DBMS_DB_VERSION
12.1.1
owner:SYS, object_type:PACKAGE, object_name:DBMS_DB_VERSION, status:VALID,
-
PACKAGE: SYS.DBMS_REPCAT_COMMON_UTL
12.1.1
owner:SYS, object_type:PACKAGE, object_name:DBMS_REPCAT_COMMON_UTL, status:VALID,
-
PACKAGE BODY: SYS.DBMS_DEFER_DEFINER
12.2.2
-
PACKAGE: SYS.DBMS_REPCAT_COMMON_UTL
12.2.2
owner:SYS, object_type:PACKAGE, object_name:DBMS_REPCAT_COMMON_UTL, status:VALID,
-
PACKAGE BODY: SYS.DBMS_DEFER_DEFINER
12.1.1
-
TABLE: SYSTEM.REPCAT$_REPPROP
12.1.1
owner:SYSTEM, object_type:TABLE, object_name:REPCAT$_REPPROP, status:VALID,
-
TABLE: SYSTEM.REPCAT$_REPCAT
12.1.1
owner:SYSTEM, object_type:TABLE, object_name:REPCAT$_REPCAT, status:VALID,
-
TABLE: SYSTEM.REPCAT$_REPPROP
12.2.2
owner:SYSTEM, object_type:TABLE, object_name:REPCAT$_REPPROP, status:VALID,
-
TABLE: SYSTEM.REPCAT$_REPCAT
12.2.2
owner:SYSTEM, object_type:TABLE, object_name:REPCAT$_REPCAT, status:VALID,
-
TABLE: SYSTEM.REPCAT$_REPOBJECT
12.2.2
owner:SYSTEM, object_type:TABLE, object_name:REPCAT$_REPOBJECT, status:VALID,
-
PACKAGE: SYS.DBMS_REPCAT_DECL
12.2.2
owner:SYS, object_type:PACKAGE, object_name:DBMS_REPCAT_DECL, status:VALID,
-
PACKAGE: SYS.DBMS_REPCAT_DECL
12.1.1
owner:SYS, object_type:PACKAGE, object_name:DBMS_REPCAT_DECL, status:VALID,
-
TABLE: SYSTEM.REPCAT$_REPOBJECT
12.1.1
owner:SYSTEM, object_type:TABLE, object_name:REPCAT$_REPOBJECT, status:VALID,
-
TYPE: SYS.ANYDATA
12.2.2
owner:SYS, object_type:TYPE, object_name:ANYDATA, status:VALID,
-
TYPE: SYS.ANYDATA
12.1.1
owner:SYS, object_type:TYPE, object_name:ANYDATA, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: SYS.DBMS_SYS_ERROR
12.2.2
owner:SYS, object_type:PACKAGE, object_name:DBMS_SYS_ERROR, status:VALID,
-
SYS.DBMS_DEFER dependencies on DBMS_DEFER_DEFINER
12.2.2
-
SYS.DBMS_DEFER_DEFINER dependencies on DBMS_DEFER_DEFINER
12.2.2
-
SYS.DBMS_DEFER_DEFINER dependencies on DBMS_DEFER_DEFINER
12.1.1