My Oracle Support Banner

DBMS_METADATA.GET_DDL Fail With ORA-31603 and/or ORA-20978 Reported While Enabling Online Patching EBS 12.2 (Doc ID 1949427.1)

Last updated on JANUARY 09, 2025

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

On Database version 11.2.0.3

When attempting to use DBMS_METADATA.GET_DDL when logged as SYSTEM database user,the following error occurs.

ORA-31603: object "JTF_PF_PAGE_OBJECT" of type TYPE not found in schema "APPS"

ORA-06512: at "SYS.DBMS_METADATA", line 5363
ORA-06512: at "SYS.DBMS_METADATA", line 7879


The issue can be reproduced at will with the following steps:


However – if one login as APPS then DBMS_METADATA.GET_DDL returns proper DDL.

Changes

  Enabling Online Patching After Upgrade EBS to 12.2 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.