CallableStatement.wasNull

CallableStatement.wasNull

Interface Overview | Interface Members | This Package | All Packages

Syntax
public abstract boolean wasNull() throws SQLException
Returns
true if the last parameter read was SQL NULL
Description
An OUT parameter may have the value of SQL NULL; wasNull reports whether the last value read has this special value.

Note: You must first call getXXX on a parameter to read its value and then call wasNull() to see if the value was SQL NULL.

Exceptions
SQLException if a database-access error occurs.