Oracle Error OCI-21578: Only one LOB column allowed per string LCR.

Oracle Error Message

OCI-21578: Only one LOB column allowed per string LCR.

Reason for the Error

An attempt was made to set multiple LOB columns on a piece-wise LOB LCR.

Solution

Check your program and make sure OCIXStreamInChunkSend is called for only one column per piece-wise LOB LCR.