Re: NullPointerException on next()

From: Rene Pijlman <rpijlman(at)wanadoo(dot)nl>
To: Joseph Shraibman <jks(at)selectacast(dot)net>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: NullPointerException on next()
Date: 2001-08-10 19:18:07
Message-ID: qic8nt4lasjn83p36uv0lict5457gsm16f@4ax.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Joseph Shraibman 2001-08-10 19:26:41 Re: NullPointerException on next()
Previous Message Joseph Shraibman 2001-08-10 18:06:08 Re: NullPointerException on next()