Re: NullPointerExceptions in empty ResultSets

From: tony <tony(at)animaproductions(dot)com>
To: Dave Cramer <Dave(at)micro-automation(dot)net>
Cc: floyds(at)4peakstech(dot)com, "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: NullPointerExceptions in empty ResultSets
Date: 2002-06-13 18:48:20
Message-ID: 1023994100.23428.132.camel@vaio
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Thu, 2002-06-13 at 20:16, Dave Cramer wrote:

> > i just upgraded to the latest jdbc driver and am now getting errors in empty
> > ResultSets (i.e. the sql select returned 0 rows) where i used to not get an
> > error. here are some examples:

Am I missing something or shouldn't your java code handle empty result
sets?

All my JSPs have a "show if not empty" logic (built lovingly by
Dreamweaver XP) on resultsets.

Cheers

Tony Grant

--
RedHat Linux on Sony Vaio C1XD/S
http://www.animaproductions.com/linux2.html
Macromedia UltraDev with PostgreSQL
http://www.animaproductions.com/ultra.html

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Thomas Vatter 2002-06-13 19:17:51 Re: NullPointerExceptions in empty ResultSets
Previous Message Dave Cramer 2002-06-13 18:16:55 Re: NullPointerExceptions in empty ResultSets