Appends all or part of the given byte array to the end of the BLOB value that this Blob object represents and returns the number of bytes written.
|pos||Reserved for future use.|
|bytes||The array of bytes to append to the BLOB value that this Blob object represents.|
|offset||The offset into the bytes argument at which to start reading the bytes to append.|
|len||The number of bytes from the bytes argument to append to the BLOB value.|
If successful, setBytes() returns the number of bytes appended.
|IF …||THEN setBytes() throws an SQLException to …|
|there is an error accessing the BLOB value||indicate a failure while writing to the BLOB, setting the SQLException fields as follows:
|the JVM cannot allocate enough memory for the method to write the bytes to the Blob||indicate that the available JVM heap memory has run out, setting the SQLException fields as follows:
|one of the following:
||indicate a call to a Blob or Clob method with an invalid argument, setting the SQLException fields as follows: