NULL VALUES

From: Henk Roos (henkr_at_vippayroll.co.za)
Date: 08/11/04


Date: Wed, 11 Aug 2004 16:15:11 +0200

Hi All,

how do I test if a certain field in a resultset has a null value.

I tried the following:

if (r.getString("field") == null) {

}

but it doesn't seem to work. I stll get a NullPointerException.

Thanks
Henk


Loading