XMLTYPE getclobval Output Differs Between 11g And 12c
(Doc ID 2296667.1)
Last updated on APRIL 12, 2022
Applies to:
Oracle Database - Enterprise Edition - Version 11.2.0.4 and laterOracle 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
Different results using the same procedure and data are seen between Oracle 11g and 12c:
set serveroutput on
declare
v_item item_key_entity_ot1 := item_key_entity_ot1('00160965','ART',NULL);
begin
dbms_output.put_line(xmltype(v_item).getclobval());
end;
Output in 11g:
<ITEM_KEY_ENTITY_OT1>
<ITEM_NO>00160965
<ITEM_TYPE>ART
Output in 12c: (12.1.0.2)
<ITEM_KEY_ENTITY_OT1>
<ITEM_NO>00160965
<ITEM_TYPE>ART
<ENTITY_LIST/>
Changes
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 |