Sets the designated parameter to the given Boolean value.
public final void setBoolean(int n, boolean x)
Parameters
n
An integer that indicates the parameter number.
x
A Boolean value, either true or false.
Exceptions
Remarks
This setBoolean method is specified by the setBoolean method in the java.sql.PreparedStatement interface.