Hitachi

Hitachi Advanced Database Application Development Guide


8.5.72 wasNull()

Organization of this subsection

(1) Function

This method returns a value indicating whether the last column value acquired is the null value.

(2) Format

public synchronized boolean wasNull() throws SQLException

(3) Arguments

None.

(4) Return value

If the last column value acquired is NULL, the method returns true; otherwise, the method returns false.

This method returns false before any column value has been acquired by a getXXX method.

(5) Exceptions

The JDBC driver throws an SQLException in the following cases: