Oracle Solution for Error ora-24854

Solution for Oracle Error ORA-24854

ORA-24854: invalid pieceinfo provided

What triggered the Error:

ile making the first call to write LOB data, an invalid pieceinfo value provided.

What should we do to fix it:

rrect the call to use OCI_ONE_PIECE or OCI_FIRST_PIECE. If using OCCI, make sure to call writeBuffer before calling writeLastBuffer.