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