@Deprecated(since="1.2")
public abstract BigDecimal getBigDecimal (int parameterIndex, int scale) throws SQLException

Deprecated: use 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.

Parameters:
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

Returns:  the parameter value. If the value is SQL NULL, the result is null.

Exceptions:
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

See also:
setBigDecimal