WLI 10.3: CANNOT INSET BLOB WITH WLI JDBC CONTROL. (Doc ID 1080665.1)

Last updated on FEBRUARY 22, 2017

Applies to:

Oracle Weblogic Server - Version 10.3 and later
Oracle WebLogic Integration - Version 10.3 and later
Information in this document applies to any platform.

Goal

WLI application upgraded from WLI 8.1 to WLI 10.3 cannot insert BLOB using JDBC control. This had worked earlier in WLI 8.1 sp5.
1. If java.sql.Blob or String is passed as argument to JDBC control, SQL statement doesn't work i.e no entries in DB.
2. If byte array is passed as argument to JDBC control, entry is made in DB but BLOB column is 'null'.

Solution

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