CallableStatement.getBigDecimal
Interface Overview | Interface Members |
This Package |
All Packages
public abstract BigDecimal getBigDecimal( int parameterIndex,
int scale ) throws SQLException
Parameters
- parameterIndex
- the first parameter is 1, the second is 2, ...
- scale
- a value greater than or equal to zero representing the
desired number of digits to the right of the decimal point
Returns
the parameter value; if the value is SQL NULL, the result is
null
Description
Get the value of a NUMERIC parameter as a java.math.BigDecimal object.
Exceptions
SQLException
if a database-access error occurs.