Share via


setRef Method (SQLServerPreparedStatement)

Sets the designated parameter to the given Ref object.

public final void setRef(int i,
                         java.sql.Ref x)

Parameters

i

An int that indicates the parameter number.

x

A Ref object.

Exceptions

SQLServerException

Remarks

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

See Also

Reference

SQLServerPreparedStatement Class

Concepts

SQLServerPreparedStatement Methods
SQLServerPreparedStatement Members