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 and later
Information in this document applies to any platform.


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.


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

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