setCharacterStream(long pos)
Syntax:
Writer setCharacterStream(long pos) throws SQLException
Description:
Retrieves a stream to be used to write a stream of Unicode characters to the CLOB
value that this Clob
object represents, at position pos
. Characters written to the stream will overwrite the existing characters in the Clob
object starting at the position pos
. If the end of the Clob
value is reached while writing characters to the stream, then the length of the Clob
value will be increased to accommodate the extra characters.
Parameters:
pos
the position at which to start writing to the CLOB
value; The first position is 1
Returns:
Type: Writer
a stream to which Unicode encoded characters can be written
Throws:
SQLException - if a database access error occurs or pos < 1
See Also
References:
For more information, reference JDBC documentation for: Clob.setCharacterStream(long)