getBigDecimal(int columnIndex)

Syntax:

BigDecimal getBigDecimal(int columnIndex)
                         throws SQLException

Description:

Retrieves the value of the designated column in the current row of this ResultSet object as a java.math.BigDecimal with full precision.

Parameters:

columnIndex

the first column is 1, the second is 2, ...

Returns:

the column value (full precision); if the value is SQL NULL, the value returned is null in the Java programming language.

Throws:

SQLException - if a database access error occurs

Reference:

For more information, reference JDBC documentation for: ResultSet.getBigDecimal(int)