Re: throw SQLException on no rs.next()?

From: rob <rob_mail(at)softhome(dot)net>
To: AgentM <agentm(at)cmu(dot)edu>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: throw SQLException on no rs.next()?
Date: 2002-04-23 12:04:12
Message-ID: 3CC54DBC.4070209@softhome.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

I believe it throws a NullPointerException.

AgentM wrote:
> Hi- it's me the JDBC newbie again and I have a simple request. Could a
> call to resultset.getX() throw some exception if rs.next() has not yet
> been called? I just got horribly burned by missing this simple thing and
> I think it may be helpful to other newbies to have this extra bit of
> information. Thanks.

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Nick Fankhauser 2002-04-23 12:09:24 Re: throw SQLException on no rs.next()?
Previous Message AgentM 2002-04-23 05:35:59 throw SQLException on no rs.next()?