; Sent: Wednesday, June 25, 2003 1:35 PM
> To: Struts Users Mailing List
> Subject: Re: [OT] Empty Result Set
>
>
> boolean isEmpty = !rs.next();
>
> David
>
> --- "Kamholz, Keith (corp-staff) USX" <[EMAIL PROTECTED]> wrote:
> > Hey everyone,
> &g
riginal Message-
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 1:35 PM
To: Struts Users Mailing List
Subject: Re: [OT] Empty Result Set
boolean isEmpty = !rs.next();
David
--- "Kamholz, Keith (corp-staff) USX" <[EMAIL PROTECTED]> wrote:
> H
...or if you use executeQuery(), you could check to see if myResultSet
== null before looping through it.
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 12:35 PM
To: Struts Users Mailing List
Subject: Re: [OT] Empty Result Set
boolean
That should work fine. I usually do a while( result.next ){ process
looping }
---
Thanks...
Mick Knutson
---
From: "Kamholz, Keith (corp-staff) USX" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts (E-mail)" <[EMAIL PROTECTED]>
Subject: [OT] Em
boolean isEmpty = !rs.next();
David
--- "Kamholz, Keith (corp-staff) USX" <[EMAIL PROTECTED]> wrote:
> Hey everyone,
> This isn't really a struts question, but it's applicable. I'm just
> wondering how to find out if a ResultSet is empty or not after I execute
> my
> query. I've searched onli
5 matches
Mail list logo