longValue = ((Integer)rs.row[numCol]).longValue();
longValue = XSQLVAR.decodeInt(rs.row[numCol]);
    BigDecimal getBigDecimal() throws SQLException {        if (rs.row[numCol]==null) return BIGDECIMAL_NULL_VALUE;        long longValue;        if (fieldType==2)            longValue = ((Integer)rs.row[numCol]).longValue();        else        if (fieldType==3)            longValue = ((Long)rs.row[numCol]).longValue();        else        if (fieldType==1)            longValue = ((Short)rs.row[numCol]).longValue();        else            throw (SQLException)createException(                BIGDECIMAL_CONVERSION_ERROR).fillInStackTrace();        return BigDecimal.valueOf(longValue, -field.sqlscale);    }