ORA-00942: table or view does not exist, ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT" when Upgrading from 11g to 12c
(Doc ID 2360488.1)
Last updated on APRIL 12, 2022
Applies to:
Oracle Database - Enterprise Edition - Version 11.2.0.4 to 12.2.0.1 [Release 11.2 to 12.2]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
Oracle Database Exadata Express Cloud Service - Version N/A and later
Information in this document applies to any platform.
Symptoms
The following errors are reported for XDB when upgrading the database from 11g to 12c:
ERROR at line 1:
ORA-00942: table or view does not exist
ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 37
ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 65
ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 136
ORA-06512: at line 5
12:05:48 SQL>
12:05:48 SQL> declare
12:05:48 2 TRXSD BFILE := dbms_metadata_hack.get_bfile('xmltr.xsd.11.0');
12:05:48 3 TRURL VARCHAR2(2000) := 'http://xmlns.oracle.com/xdb/csx.xmltr.xsd';
12:05:48 4 begin
12:05:48 5 xdb.dbms_xmlschema.registerSchema(TRURL, TRXSD, FALSE, FALSE, FALSE, TRUE,
12:05:48 6 FALSE, 'XDB',
12:05:48 7 options => DBMS_XMLSCHEMA.REGISTER_BINARYXML);
12:05:48 8 end;
12:05:48 9 /
declare
*
ERROR at line 1:
ORA-00942: table or view does not exist
ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 37
ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 65
ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 136
ORA-06512: at line 5
XDB is VALID and there are no invalid or missing XDB objects.
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 |
Cause |
Solution |
References |