Re: NullPointerExceptions in empty ResultSets - Mailing list pgsql-jdbc

From Thomas Vatter
Subject Re: NullPointerExceptions in empty ResultSets
Date
Msg-id 000801c2130f$03a271d0$fa73a8c0@entw
Whole thread Raw
In response to Re: NullPointerExceptions in empty ResultSets  (tony <tony@animaproductions.com>)
List pgsql-jdbc
I have the same type of "show if not empty" logic in a larger application. I
should do a port from oracle to postgres but I had to stop because different
application logic would be necessary.

> -----Ursprüngliche Nachricht-----
> Von: pgsql-jdbc-owner@postgresql.org
> [mailto:pgsql-jdbc-owner@postgresql.org]Im Auftrag von tony
> Gesendet: Donnerstag, 13. Juni 2002 20:48
> An: Dave Cramer
> Cc: floyds@4peakstech.com; pgsql-jdbc@postgresql.org
> Betreff: Re: [JDBC] NullPointerExceptions in empty ResultSets
>
>
> 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
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>


pgsql-jdbc by date:

Previous
From: "Floyd Shackelford"
Date:
Subject: NullPointerExceptions in empty ResultSets
Next
From: Sam Varshavchik
Date:
Subject: Re: COPY support in pgsql-jdbc driver