Compartir a través de


setCharacterStream Method (SQLServerClob)

Returns a stream to be used to write a stream of Unicode characters to the CLOB, starting at the given position.

public java.io.Writer setCharacterStream(long pos)

Parámetros

pos

The position at which to start writing to the CLOB object.

Valor devuelto

A stream to which Unicode encoded characters can be written.

Excepciones

java.sql.SQLException

Notas

This setCharacterStream method is specified by the setCharacterStream method in the java.sql.Clob interface.

Character data in the CLOB is overwritten by the writer starting at the specified position and can over-run the initial length of the CLOB. Specifying a position+1 value will append characters. Specifying a position+2 or greater (or zero or less) value will cause a position error to be thrown.

Vea también

Referencia

SQLServerClob Class

Conceptos

SQLServerClob Methods
SQLServerClob Members