My Oracle Support Banner

Dbms_xmlstore Insertxml Throws ORA-01008 For CLOB Column With Null Value (Doc ID 1270580.1)

Last updated on MARCH 17, 2019

Applies to:

Oracle XML Developers Kit - Version 10.2.0.5 to 11.2.0.2 [Release 10.2 to 11.2]
Information in this document applies to any platform.
***Checked for relevance on 03-Dec-2012***

Symptoms

Inserting XML document into a table columns using DBMS_XMLSTORE.

The table has a CLOB column . Inserting NULL data into CLOB column fails with ORA-01008



Error seems to occur only when inserting NULL data into CLOB but works
fine even when inserting NULL data into VARCHAR2 column.

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.