Share via


setNClob Method (java.lang.String, 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(java.lang.String parameterName,
              java.io.Reader reader,
              long length)

Parameters

parameterName

A String that contains the parameter name.

reader

A Reader object.

length

A long that indicates the number of characters in the stream.

Exceptions

SQLServerException

Remarks

This method should be used for NCHAR, NVARCHAR, NTEXT, and XML parameter data types.

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

See Also

Concepts

setNClob Method (SQLServerCallableStatement)
SQLServerCallableStatement Methods
SQLServerCallableStatement Members