Share via


setTime Method (int, java.sql.Time, java.util.Calendar)

Sets the designated parameter to the given time and calendar values.

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

Parameters

n

An int that indicates the parameter number.

x

A Time object.

cal

A Calendar object.

Exceptions

SQLServerException

Remarks

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

See Also

Reference

SQLServerPreparedStatement Class

Concepts

setTime Method (SQLServerPreparedStatement)
SQLServerPreparedStatement Methods
SQLServerPreparedStatement Members