when I use OCI_LobWrite method in ocilib,a error appears:
I care about field type---- Clob.then I use OCI_LobWrite ,result is
ORA-24811: less data provided for writing than indicated
I don't know what to do.
Cause: While writing into a LOB, less data was provided than indicated.
Action: If writing data in single pieces, then make sure that the buffer length specified is big enough to accommodate tha data being provided. If data is written in pieces, then make sure that all the data has been provided before specifying OCI_LAST_PIECE.
Who can help me?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It means that the parameter 'len' was maybe not holding the right value.
Can you post a sample code that generates the error ?
And can you precise the OS, 32 or 64bits, Oracle version and charset (ansi, mixed or wide) ?
Last edit: Vincent Rogier 2013-02-25
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
when I use OCI_LobWrite method in ocilib,a error appears:
I care about field type---- Clob.then I use OCI_LobWrite ,result is
ORA-24811: less data provided for writing than indicated
I don't know what to do.
Cause: While writing into a LOB, less data was provided than indicated.
Action: If writing data in single pieces, then make sure that the buffer length specified is big enough to accommodate tha data being provided. If data is written in pieces, then make sure that all the data has been provided before specifying OCI_LAST_PIECE.
Who can help me?
It means that the parameter 'len' was maybe not holding the right value.
Can you post a sample code that generates the error ?
And can you precise the OS, 32 or 64bits, Oracle version and charset (ansi, mixed or wide) ?
Last edit: Vincent Rogier 2013-02-25