Re: NullPointerExceptions in empty ResultSets

From: "Thomas Vatter" <thomas(dot)vatter(at)chemikalienverzeichnis(dot)de>
To: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: NullPointerExceptions in empty ResultSets
Date: 2002-06-13 19:17:51
Message-ID: 000801c2130f$03a271d0$fa73a8c0@entw
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)postgresql(dot)org
> [mailto:pgsql-jdbc-owner(at)postgresql(dot)org]Im Auftrag von tony
> Gesendet: Donnerstag, 13. Juni 2002 20:48
> An: Dave Cramer
> Cc: floyds(at)4peakstech(dot)com; pgsql-jdbc(at)postgresql(dot)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
>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Johan Svensson 2002-06-13 19:30:42 Problem with JTA/JTS
Previous Message tony 2002-06-13 18:48:20 Re: NullPointerExceptions in empty ResultSets