Inserting a NULL Into an XMLType Column Fails with 'Invalid column type: sqlType=2007'

(Doc ID 1293600.1)

Last updated on FEBRUARY 17, 2011

Applies to:

Oracle Server - Enterprise Edition - Version: to - Release: 10.2 to 11.2
Information in this document applies to any platform.


Attempting to insert a NULL into an XMLTYPE column using DBMS_XMLSAVE fails with the following error:

ORA-29532: Java call terminated by uncaught Java exception: oracle.xml.sql.OracleXMLSQLException:
'java.sql.SQLException: Invalid column type: sqlType=2007'
 encountered during processing ROW element 0.
All prior XML row changes were rolled back. in the XML document.
ORA-06512: at "SYS.DBMS_XMLSAVE", line 115
ORA-06512: at line 10


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