getBigDecimal(int parameterIndex)
or getBigDecimal(String parameterName)
Retrieves the value of the designated JDBC NUMERIC
parameter as a
java.math.BigDecimal
object with scale digits to
the right of the decimal point.
parameterIndex | the first parameter is 1, the second is 2, and so on | |
scale | the number of digits to the right of the decimal point |
NULL
, the result
is null
.
SQLException | if the parameterIndex is not valid;
if a database access error occurs or
this method is called on a closed CallableStatement | |
SQLFeatureNotSupportedException | if the JDBC driver does not support this method |
setBigDecimal
Diagram: Statement