Re: NullPointerExceptions in empty ResultSets

Поиск
Список
Период
Сортировка
От Thomas Vatter
Тема Re: NullPointerExceptions in empty ResultSets
Дата
Msg-id 000801c2130f$03a271d0$fa73a8c0@entw
обсуждение исходный текст
Ответ на Re: NullPointerExceptions in empty ResultSets  (tony <tony@animaproductions.com>)
Список 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 по дате отправления:

Предыдущее
От: "Floyd Shackelford"
Дата:
Сообщение: NullPointerExceptions in empty ResultSets
Следующее
От: Sam Varshavchik
Дата:
Сообщение: Re: COPY support in pgsql-jdbc driver