Re: throw SQLException on no rs.next()? - Mailing list pgsql-jdbc

From rob
Subject Re: throw SQLException on no rs.next()?
Date
Msg-id 3CC54DBC.4070209@softhome.net
Whole thread Raw
In response to throw SQLException on no rs.next()?  (AgentM <agentm@cmu.edu>)
List 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.




pgsql-jdbc by date:

Previous
From: AgentM
Date:
Subject: throw SQLException on no rs.next()?
Next
From: "Nick Fankhauser"
Date:
Subject: Re: throw SQLException on no rs.next()?