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

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

Note

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

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

Parameters

parameterIndex

An int that indicates the parameter index.

reader

A Reader object.

length

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

Remarks

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

Exceptions

SQLServerException

See Also

Concepts

setClob Method (SQLServerPreparedStatement)
SQLServerPreparedStatement Methods
SQLServerPreparedStatement Members