Table With XMLTYPE Column Lost Definition On XML SCHMEMA After Import (Doc ID 2324565.1)

Last updated on NOVEMBER 03, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.4 and later
Information in this document applies to any platform.

Symptoms

Table has one column which is XMLTYPE datatype and uses XMLSCHEMA for its definition.
After import in target database column definition is changed and there is no definition on XMLSCHEMA.

Original column definition is:
XMLTYPE(XMLSchema "http://xmlns.oracle.com/xdb/SSPR.xsd" Element "SSPR_HNB_Dostava") STORAGE Object-relational TYPE "SSPR_HNB_Dostava333_T"
After import column definition is:
XMLTYPE STORAGE BINARY

 

On source database, when the DDL for table using package DBMS_METADATA shows similar behavior as with Data Pump:

The original column definition is:
XMLTYPE(XMLSchema "http://xmlns.oracle.com/xdb/SSPR.xsd" Element "SSPR_HNB_Dostava") STORAGE Object-relational TYPE "SSPR_HNB_Dostava333_T"
After import the column definition is:
XMLTYPE STORAGE BINARY


Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms