My Oracle Support Banner

Incorrect Value In XMLTYPE Column Following Insert (Doc ID 2703705.1)

Last updated on DECEMBER 31, 2020

Applies to:

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

Symptoms

Table with xmltype and with trigger on insert, the contents of the xmltype column should be an XMLTYPE equivalent of the contents of the CLOB column.
The trigger converts the CLOB value of CLOB to an XMLTYPE and stores it in xmltype.
Removing the trigger and using direct inserts into the XMLTYPE columns works correctly.

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


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