Hitachi

Hitachi Advanced Database Application Development Guide


8.5.12 getBigDecimal(String columnName)

Organization of this subsection

(1) Function

This method acquires in a java.math.BigDecimal object the value in a specified column in the current row of the ResultSet object. The column whose value is to be acquired is specified in the argument.

(2) Format

public synchronized BigDecimal getBigDecimal(String columnName) throws SQLException

(3) Arguments

String columnName

Specifies a column name.

(4) Return value

This method returns the column value that corresponds to the specified column name in the current row.

For details about the relationship between the retrieval result and the return value, see Table 8‒19: Relationship between the retrieval result and the return value (getBigDecimal method).

(5) Exceptions

The JDBC driver throws an SQLException in the following cases: