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

Download JDBC driver

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

Syntax

  
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

setClob Method (SQLServerPreparedStatement)
SQLServerPreparedStatement Members