setAsciiStream(long pos)
Syntax:
OutputStream setAsciiStream(long pos) throws SQLException
Description:
Retrieves a stream to be used to write Ascii characters to the CLOB
value that this Clob
object represents, starting 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 this CLOB
object; The first position is 1
Returns:
Type: OutputStream
the stream to which ASCII 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.setAsciiStream(long)