Quantcast
Channel: SCN: Message List - SAP Manufacturing Integration and Intelligence (SAP MII)
Viewing all articles
Browse latest Browse all 4841

SQL Insertion Error -ORA-01704: string literal too long

$
0
0

Hi All,

 

I am facing issue while inserting the XML data having more than 4000 chars

The environment details are as follow

 

SAP MII 14.0 SP5 Patch 7

Oracle 11G

OJDBC5

 

I have already referred the similar issue but was not able to achieve the desired result

http://scn.sap.com/thread/3146941

http://scn.sap.com/thread/1972839

http://scn.sap.com/thread/1830341

 

 

1. Updated the JDBC driver(OJDBC5 to OJDBC6), still same error -string literal too long

i).is there specific driver for 11g for supporting the string characters longer than 4000 ?

ii) also is it mandatory to restart the server after updating the driver ?

iii)any other settings change required  ?

 

The sql query runs successfully with PL/SQL having clob data type ,but same query fails within the workbench.

The other approach of Stored Procedure works but problem lies in dynamically creating the number of params(both in SQL query and in SP) after breaking in 4000 chunks

 

Looking forward for the help

Thanks & Regards

Ravish Pandey


Viewing all articles
Browse latest Browse all 4841

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>