Share via


setCharacterStream Method (SQLServerNClob)

Retrieves a stream to be used to write a stream of Unicode characters to the NCLOB value that this java.sql.NClob object represents, starting at the specified position.

Note

This feature is introduced starting with the Microsoft SQL Server JDBC Driver version 2.0.

public java.io.Writer setCharacterStream(long pos)

Parameters

pos

The position at which to start writing to the NCLOB value; the first position is 1.

Return Value

A Writer object that represents the stream to which Unicode encoded characters can be written.

Exceptions

SQLServerException

Remarks

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

See Also

Reference

SQLServerNClob Class

Concepts

SQLServerNClob Methods
SQLServerNClob Members