Re: What is the most efficient way to detect records with NULL values returned in a ResultSet?
Wednesday, December 12, 2001 11:20 PM
Please use the getObject() method. If a column record is null, getObject() always retuns null.
Object obj = rs.getObject(1);
if (obj != null)