Troubleshooting
Problem
When using an IBM WebSphere Transformation Extender (WTX) map with either DBLOOKUP() or DBQUERY() functions, the Oracle database adapter may throw error ORA-01461 whenever the inserted value for a BLOB datatype column exceeds 4,000 bytes.
Symptom
An adapter failure (and a map failure if the database function is wrapped in a FAIL() function) and error ORA-01461 is written to the adapter trace.
Cause
The DBLOOKUP() or DBQUERY() functions use a text based binding mechanism whenever submitting data into a BLOB column or any other type of column.
This works well for the BLOB column until Oracle processes any text sequence of 4000 bytes or greater, which causes an Oracle limitation to be reached and an error to be reported.
Resolving The Problem
The solution is to use the map output card to insert the data.
IBM WebSphere Transformation Extender (WTX) uses a different update mechanism during output card processing.
The update processes the BLOB column with a separately defined update statement.
Two update calls are made. One update call for the other columns being inserted / updated and another update call for the BLOB column.
This update mechanism is currently only available for map output cards.
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21699388