Re: NullPointerException on next()

Поиск
Список
Период
Сортировка
От Joseph Shraibman
Тема Re: NullPointerException on next()
Дата
Msg-id 3B743571.9040505@selectacast.net
обсуждение исходный текст
Ответ на NullPointerException on next()  (Joseph Shraibman <jks@selectacast.net>)
Ответы Re: NullPointerException on next()
Список pgsql-jdbc
I think it used to work.  Anyway maybe an IllegalStateException should
be thrown instead of NullPointerException?


Rene Pijlman wrote:
> On Fri, 10 Aug 2001 14:06:08 -0400, you wrote:
>
>>I didn't close the statement.  I did use the statement again (to do an
>>update) before I called next(), is that a problem now?
>>
>
> Yes. Closing or re-executing the statement closes its ResultSet.
> This is per the JDBC spec, its not PostgreSQL-specific.
>
> Regards,
> René Pijlman
>


--
Joseph Shraibman
jks@selectacast.net
Increase signal to noise ratio.  http://www.targabot.com


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Rene Pijlman
Дата:
Сообщение: Re: NullPointerException on next()
Следующее
От: Tom Lane
Дата:
Сообщение: JDBC pg_description update needed for CVS tip