ORA-24370: illegal piecewise operation attempted
Cause: Data of a certain datatype that does not support piecewise operation is being sent or fetched in pieces
Action: Always set the piece value to OCI_ONE_PIECE for datatypes that does not support piecewise operation
https://support.oracle.com/
http://www.oracle.com/