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

Поиск
Список
Период
Сортировка
От rob
Тема Re: throw SQLException on no rs.next()?
Дата
Msg-id 3CC54DBC.4070209@softhome.net
обсуждение исходный текст
Ответ на throw SQLException on no rs.next()?  (AgentM <agentm@cmu.edu>)
Список 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 по дате отправления:

Предыдущее
От: AgentM
Дата:
Сообщение: throw SQLException on no rs.next()?
Следующее
От: "Nick Fankhauser"
Дата:
Сообщение: Re: throw SQLException on no rs.next()?