@Deprecated
    public BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException {
        Object value;
        BigDecimal bDecimal, retVal;

        // sanity check.
        checkIndex(columnIndex);
        // make sure the cursor is on a valid row
        checkCursor();

        setLastValueNull(false);
        value = getCurrentRow().getColumnObject(columnIndex);

        // check for SQL NULL
        if (value == null) {
            setLastValueNull(true);
            return (new BigDecimal(0));
        }

        bDecimal = this.getBigDecimal(columnIndex);

        retVal = bDecimal.setScale(scale);

        return retVal;
    }
Retrieves the value of the designated column in the current row
of this <code>CachedRowSetImpl</code> object as a
<code>java.math.BigDecimal</code> object.
<P>
This method is deprecated; use the version of <code>getBigDecimal</code>
that does not take a scale parameter and returns a value with full
precision.

@param columnIndex the first column is <code>1</code>, the second
       is <code>2</code>, and so on; must be <code>1</code> or larger
       and equal to or less than the number of columns in the rowset
@param scale the number of digits to the right of the decimal point in the
       value returned
@return the column value with the specified number of digits to the right
        of the decimal point; if the value is SQL <code>NULL</code>, the
        result is <code>null</code>
@throws SQLException if the given column index is out of bounds,
           the cursor is not on a valid row, or this method fails
@deprecated
src/main/java/org/replicadb/rowset/sun/rowset/CachedRowSetImpl.java