Re: NULL VALUES
From: Joe Weinstein (joeNOSPAM_at_bea.com)
Date: 08/12/04
- Next message: Sue Purkis: "Re: setQueryTimeout not working"
- Previous message: yuvalz: "RE: microsoft jdbc driver for SQL Server 7.0"
- In reply to: Henk Roos: "NULL VALUES"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 12 Aug 2004 14:13:58 -0700 To: Henk Roos <henkr@vippayroll.co.za>
Henk Roos wrote:
> 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.
Show more of the code, and show the line where you get the
exception. That code (you show) should work.
Joe Weinstein at BEA
>
> Thanks
> Henk
>
>
- Next message: Sue Purkis: "Re: setQueryTimeout not working"
- Previous message: yuvalz: "RE: microsoft jdbc driver for SQL Server 7.0"
- In reply to: Henk Roos: "NULL VALUES"
- Messages sorted by: [ date ] [ thread ]
Loading