Hi All,
I'm using JDBC receiver adapter to send data to a Oracle database.
INSERT into the database works. Then I tried a stored procedure with a VARCHAR and a DATE and it also works fine
However, when I try to do the same for a BLOB, I get NumberFormatException.
Below the structure I use:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_DB_JDBC_INSERT xmlns:ns0="http:/xxx">
<INSERT_BLOB>
<insert_rp action="EXECUTE">
<DOCUMENT hasQuot="No" type="BLOB">JVBERi0xLjQKJaqrrK0KVPhr8QPIKJSVFT0YK</DOCUMENT>
</insert_rp>
</INSERT_BLOB>
</ns0:MT_DB_JDBC_INSERT>
The DOCUMENT node contains some base64 encoded data.
And the error:
JDBC Message processing failed, due to Error processing request in sax parser: Error when executing statement for table/stored proc. 'insert_rp' (structure 'INSERT_BLOB'): java.lang.NumberFormatException: For input string: "Ri"
Anyone any idea what I'm doing wrong?
Kind Regards
Edmond Paulussen