Sets the designated parameter to the given date value.
public final void setDate(int n, java.sql.Date x)
Parameters
n
An integer that indicates the parameter number.
x
A Date object.
Exceptions
Remarks
This setDate method is specified by the setDate method in the java.sql.PreparedStatement interface.