setNClob Method (int, java.io.Reader, long)

Sets the designated parameter to the specified Reader object, which is the specified number of characters long.

Note

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

public final void setNClob(int parameterIndex,
                    java.io.Reader reader,
                    long length)

Parameters

parameterIndex

An int that indicates the parameter index.

reader

A Reader object that indicates the parameter value.

length

An long that indicates the number of characters in the parameter value.

Exceptions

SQLServerException

Remarks

This setNClob method is specified by the setNClob method in the java.sql.PreparedStatement interface.

See Also

Concepts

setNClob Method (SQLServerPreparedStatement)
SQLServerPreparedStatement Methods
SQLServerPreparedStatement Members