ResultSet.wasNull

ResultSet.wasNull

Interface Overview | Interface Members | This Package | All Packages

Syntax
public abstract boolean wasNull() throws SQLException
Returns
true if last column read was SQL NULL
Description
A column may have the value of SQL NULL; wasNull reports whether the last column read had this special value. Note that you must first call getXXX on a column to try to read its value and then call wasNull() to find if the value was the SQL NULL.

Exceptions
SQLException if a database-access error occurs.