Search Results ad_zd_seed
Overview
AD_ZD_SEED is an Oracle Applications (APPS) schema PL/SQL package body that forms part of the Online Patching infrastructure introduced with Oracle E-Business Suite 12.2. Its primary business function is to seed, prepare, and manage the database objects that participate in the edition-based redefinition (EBR) model used by Online Patching. In EBS 12.2, the database is upgraded and patched while users remain connected, and this is achieved through editioning views, cross-edition triggers, editioned columns, and row-level security (RLS) policies applied to the underlying tables. AD_ZD_SEED provides the programmatic logic that creates and manages these editioning artifacts for the objects owned by the APPS schema, ensuring that the correct edition is exposed to the correct runtime session during the prepare, cutover, and cleanup phases of an online patch cycle.
The package is classified as OTHER in the ETRM metadata and holds VALID status in the APPS schema. It is heavily depended upon by the broader AD_ZD family of packages and is referenced by nineteen other database objects, underscoring its central role in the Application DBA (AD) online patching toolset.
Key Procedures and Functions
The package exposes twelve documented procedures and functions, each corresponding to a stage of the online patching lifecycle or to a category of database object being managed:
- EDS_COLUMN — manages editioned columns, the mechanism by which a column can hold different values across editions.
- EDS_TRIGGER — manages the cross-edition triggers that keep editioning views synchronized during patching.
- EDS_POLICY — manages row-level security policies that restrict visibility of rows to the appropriate edition.
- EDS_FUNCTION — supports the functions used in conjunction with editioning artifacts.
- EDS_FCET — handles the fine-grained cross-edition triggers that support the EBR model.
- UPGRADE — seeds the online patching objects during an upgrade to a 12.2 environment.
- DOWNGRADE — reverses the seeding operations to return objects to their pre-EBR state.
- PATCH — prepares and applies the editioning metadata for a specific patch.
- PREPARE — executes the prepare phase, creating the new edition and populating the editioning views and triggers.
- CUTOVER — switches the runtime edition so that users begin using the newly patched objects.
- CLEANUP — removes obsolete editions and their associated artifacts after cutover completes.
- ABORT — terminates an in-progress online patching session and rolls back seeding changes.
Tables Accessed
AD_ZD_SEED reads extensively from the Oracle data dictionary through APPS synonyms. It queries DBA_CONSTRAINTS, DBA_CONS_COLUMNS, DBA_INDEXES, and DBA_IND_COLUMNS to understand the structural definition of tables being seeded; DBA_TAB_COLUMNS and DBA_TRIGGERS to enumerate columns and existing triggers; DBA_POLICIES to inspect RLS policies; DBA_SOURCE, DBA_SYNONYMS, and DBA_OBJECTS_AE to identify dependent code and synonyms; and USER_OBJECTS, USER_OBJECTS_AE, USER_SOURCE, USER_SOURCE_AE, and USER_TRIGGERS for user-level metadata. It also relies on DBMS_LOB for large object manipulation, DBMS_LOCK for serialization during patching, DBMS_METADATA for DDL extraction, DBMS_RLS for policy management, and DBMS_UTILITY for miscellaneous utilities. The V$PARAMETER view is queried to confirm database configuration, and the KU$_DDL and KU$_DDLS fixed views supply DDL text. These reads allow the package to generate the correct editioning DDL dynamically.
Usage Notes
AD_ZD_SEED is not intended for direct invocation by end users or through standard EBS forms. It is invoked internally by the AD Online Patching drivers—specifically the adzdpmgr, adzdparray, and related AD utilities—during the prepare, cutover, and cleanup phases of an online patch. It may also be called from the ADZD concurrent programs that orchestrate patching, and from custom code only where Oracle explicitly supports AD_ZD APIs. Because it manipulates editioning views, cross-edition triggers, and RLS policies, incorrect direct use can render APPS objects inaccessible. It should be treated strictly as an internal Oracle Applications tool, and any custom interaction should be limited to the documented phase procedures (PREPARE, CUTOVER, CLEANUP, ABORT) as driven by the standard patching framework.
-
PACKAGE BODY: APPS.AD_ZD_SEED
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AD_ZD_SEED, status:VALID,
-
PACKAGE: APPS.AD_ZD_SEED
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AD_ZD_SEED, status:VALID,
-
PACKAGE: APPS.AD_ZD_SEED
12.2.2
-
SYNONYM: PUBLIC.DBA_OBJECTS_AE
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DBA_OBJECTS_AE, status:VALID,
-
PACKAGE: APPS.AD_ZD_MVIEW
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AD_ZD_MVIEW, status:VALID,
-
SYNONYM: PUBLIC.DBA_CONSTRAINTS
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DBA_CONSTRAINTS, status:VALID,
-
SYNONYM: PUBLIC.USER_OBJECTS_AE
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:USER_OBJECTS_AE, status:VALID,
-
SYNONYM: PUBLIC.USER_SOURCE_AE
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:USER_SOURCE_AE, status:VALID,
-
PACKAGE BODY: APPS.ECX_NZDT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ECX_NZDT, status:VALID,
-
PACKAGE BODY: APPS.PER_AD_ZD_SEED_WRAPPER
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PER_AD_ZD_SEED_WRAPPER, status:VALID,
-
SYNONYM: PUBLIC.DBA_SOURCE
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DBA_SOURCE, status:VALID,
-
SYNONYM: PUBLIC.DBA_SYNONYMS
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DBA_SYNONYMS, status:VALID,
-
PACKAGE BODY: APPS.PAY_KW_XDO_TEMPLATE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_KW_XDO_TEMPLATE, status:VALID,
-
SYNONYM: PUBLIC.DBMS_METADATA
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DBMS_METADATA, status:VALID,
-
PACKAGE BODY: APPS.FND_XDFDICTIONARY_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FND_XDFDICTIONARY_PKG, status:VALID,
-
SYNONYM: PUBLIC.DBA_POLICIES
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DBA_POLICIES, status:VALID,
-
SYNONYM: PUBLIC.DBA_TRIGGERS
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DBA_TRIGGERS, status:VALID,
-
SYNONYM: PUBLIC.DBMS_RLS
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DBMS_RLS, status:VALID,
-
SYNONYM: SYSTEM.FND_ORACLE_USERID
12.2.2
owner:SYSTEM, object_type:SYNONYM, object_name:FND_ORACLE_USERID, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE: APPS.AD_ZD_PARALLEL_EXEC
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AD_ZD_PARALLEL_EXEC, status:VALID,
-
SYNONYM: PUBLIC.DBA_CONS_COLUMNS
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DBA_CONS_COLUMNS, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.FA_LOOKUPS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FA_LOOKUPS_PKG, status:VALID,
-
SYNONYM: PUBLIC.DBA_IND_COLUMNS
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DBA_IND_COLUMNS, status:VALID,
-
SYNONYM: PUBLIC.USER_TRIGGERS
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:USER_TRIGGERS, status:VALID,
-
PACKAGE: APPS.AD_ZD_TABLE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AD_ZD_TABLE, status:VALID,
-
PACKAGE BODY: APPS.WF_EVENT_SYNCHRONIZE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:WF_EVENT_SYNCHRONIZE_PKG, status:VALID,
-
SYNONYM: PUBLIC.USER_SOURCE
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:USER_SOURCE, status:VALID,
-
PACKAGE BODY: APPS.FA_BONUS_RATES_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FA_BONUS_RATES_PKG, status:VALID,
-
PACKAGE BODY: APPS.FND_HELP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FND_HELP, status:VALID,
-
PACKAGE BODY: APPS.FA_RATES_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FA_RATES_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_ADR_INTERFACE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_ADR_INTERFACE_PKG, status:VALID,
-
PACKAGE BODY: APPS.FA_LOOKUP_TYPES_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FA_LOOKUP_TYPES_PKG, status:VALID,
-
PACKAGE BODY: APPS.FA_METHODS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FA_METHODS_PKG, status:VALID,
-
PACKAGE BODY: APPS.AD_ZD
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AD_ZD, status:VALID,
-
PACKAGE BODY: APPS.XLA_AAD_INSTALL_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_AAD_INSTALL_PVT, status:VALID,
-
PACKAGE BODY: APPS.AK_DELETE_GRP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AK_DELETE_GRP, status:VALID,
-
PACKAGE BODY: APPS.AD_ZD_TABLE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AD_ZD_TABLE, status:VALID,
-
TYPE: SYS.KU$_DDLS
12.2.2
owner:SYS, object_type:TYPE, object_name:KU$_DDLS, status:VALID,
-
SYNONYM: PUBLIC.DBA_INDEXES
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DBA_INDEXES, status:VALID,
-
PACKAGE BODY: APPS.XLA_AAD_UPLOAD_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_AAD_UPLOAD_PVT, status:VALID,
-
PACKAGE: APPS.AD_ZD
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AD_ZD, status:VALID,
-
PACKAGE BODY: APPS.AK_ON_OBJECTS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AK_ON_OBJECTS_PVT, status:VALID,
-
PACKAGE BODY: APPS.WF_LOAD
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:WF_LOAD, status:VALID,
-
TYPE: SYS.KU$_DDL
12.2.2
owner:SYS, object_type:TYPE, object_name:KU$_DDL, status:VALID,
-
SYNONYM: PUBLIC.DBA_TAB_COLUMNS
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DBA_TAB_COLUMNS, status:VALID,
-
SYNONYM: PUBLIC.USER_OBJECTS
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:USER_OBJECTS, status:VALID,
-
SYNONYM: PUBLIC.V$PARAMETER
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:V$PARAMETER, status:VALID,
-
SYNONYM: PUBLIC.DBMS_LOCK
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DBMS_LOCK, status:VALID,