ORA-01461 When Using DBMS_XMLSTORE.INSERTXML With A BLOB > 4000 Characters
(Doc ID 2547740.1)
Last updated on NOVEMBER 06, 2020
Applies to:Oracle Database - Enterprise Edition - Version 18.104.22.168 and later
Information in this document applies to any platform.
On Oracle 22.214.171.124, when trying to insert data from XML file into a table with a BLOB column, using DBMS_XMLSTORE.INSERTXML,
- if the BLOB>4000 characters and error is returned:
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00222: error received from SAX callback function
ORA-01461: can bind a LONG value only for insert into a LONG column
ORA-06512: at "SYS.DBMS_XMLSTORE", line 78
The problem does not occur on 126.96.36.199.
There is no issue on any version with a CLOB column.
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