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.

Hinweis

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)

Parameter

parameterName

A String that contains the parameter name.

reader

A Reader object.

length

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

Ausnahmen

SQLServerException

Hinweise

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.

Siehe auch

Konzepte

setNClob Method (SQLServerCallableStatement)
SQLServerCallableStatement Methods
SQLServerCallableStatement Members