Sets the designated parameter to the given time value.

public final void setTime(int n,
                          java.sql.Time x)

Parameters

n

An integer that indicates the parameter number.

x

A Time object.

Exceptions

SQLServerException

Remarks

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

See Also