11.2.10 isSigned(int param)
- Organization of this subsection
(1) Function
This method returns a value indicating whether a specified parameter is for signed numeric values.
(2) Format
public synchronized boolean isSigned(int param) throws SQLException
(3) Arguments
- int param
-
Specifies a parameter number (beginning with 1).
(4) Return value
The method returns one of the following values:
-
true: The parameter is for signed numeric values.
-
false: The parameter is not for signed numeric values.
The following table shows the relationship between the parameter's data type and the return value.
Parameter's data type |
Return value |
---|---|
INTEGER, SMALLINT, DOUBLE PRECISION, DECIMAL |
true |
Other than the above |
false |
(5) Exceptions
If the specified param value is 0 or less, or is greater than the number of parameters, the JDBC driver throws an SQLException.