Skip to the content.

AD ADOP Sessions – Oracle EBS SQL Report

Oracle E-Business Suite SQL report from the Enginatics Library powered by Blitz Report™. Oracle EBS module: Applications DBA · all Applications DBA reports

Overview

Online patching (adop) sessions of Oracle EBS 12.2 with one row per node and phase, showing the status, start and end time and duration of each phase.

Phases that do not apply to a session, for example all phases but apply in a hotpatch session, are not shown. The Patches column lists the patches applied in the session’s apply phase.

Run this report in Excel in seconds: download Blitz Report™ free (your first 30 reports are free) or try it in the online demo.

Report Parameters

Session Id, Start Date From, Incomplete only

Oracle EBS Tables Used

ad_adop_session_patches, ad_adop_sessions

Report Categories

Enginatics, R12 only

AD Applied Patches, AD Patch Task Timing

Running This SQL Without Blitz Report

The SQL source can be run in any SQL client. Some Oracle EBS SQL reports in this library use functions from the utility package xxen_util – install it first. Blitz Report™ adds parameters, Excel output with pivots, scheduling and security on top.

Download & Import Options

Resource Link
Excel Example Output AD ADOP Sessions 12-Oct-2026 062911.xlsx
Blitz Report™ XML Import AD_ADOP_Sessions.xml
SQL Source AD ADOP Sessions.sql
Full Report on Enginatics www.enginatics.com/reports/ad-adop-sessions/

Case Study & Technical Analysis: AD ADOP Sessions

Executive Summary

The AD ADOP Sessions report lists the Online Patching (adop) sessions of Oracle E-Business Suite Release 12.2, with one row per node and per phase. For each phase it shows the status, start and end time, duration in seconds and minutes and, for the Apply phase, the patches applied in that session. Applications DBA teams use it to follow a patching cycle node by node, to see where an interrupted session stopped and to document what each session delivered. Run in Excel through Blitz Report, it gives a phase timeline that would otherwise require querying the AD patching tables directly.

Business Challenge

The Solution

Technical Architecture (High Level)

Primary Tables

Logical Relationships

  1. AD_ADOP_SESSIONS is joined to xxen_util.rowgen(6), which returns the phase numbers 1 to 6. Each phase number selects the matching status, start date and end date through DECODE, and the phase name is derived the same way.
  2. The inner query removes phases whose status is X. The outer query orders the rows by session id descending, node name and phase number.
  3. For rows whose phase is Apply, a correlated subquery on AD_ADOP_SESSION_PATCHES matches on the session id and node name and aggregates the bug numbers with LISTAGG.
  4. Start and end dates are converted with xxen_util.client_time, and the Duration and Minutes columns are computed from the same unpivoted dates.

Parameters & Filtering

Performance & Optimization

FAQ

Q: How do I see which patches an adop session applied? A: Run the report for the session id. The Patches column on the Apply row lists the bug numbers from AD_ADOP_SESSION_PATCHES for that node, separated by commas.

Q: Why does a phase not appear in the output? A: Phases whose status is X do not apply to the session, and the report hides them. A hotpatch session, for example, shows only the Apply phase.

Q: How is the duration of a phase calculated? A: Duration is the difference between the phase end date and start date multiplied by 86,400 and formatted with xxen_util.time. Minutes is the same difference multiplied by 1,440.


© Enginatics GmbH