Re: PSQLException: ResultSet not positioned properly

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: PSQLException: ResultSet not positioned properly
Дата
Msg-id 47B4F05D.5040805@opencloud.com
обсуждение исходный текст
Ответ на PSQLException: ResultSet not positioned properly  (james@dades.ca)
Список pgsql-jdbc
james@dades.ca wrote:

>                         System.out.println("Error: ticket number not found
> in bol: so#="+sonumber+" ticket#="+token+";
> navroutno="+pRs.getString(2));

You probably don't meant to use pRs.getString() here. That's the
resultset that you already iterated through completely in the previous
loop (and the connection it was generated from is closed, anyway)

-O

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

Предыдущее
От: james@dades.ca
Дата:
Сообщение: PSQLException: ResultSet not positioned properly
Следующее
От: james@dades.ca
Дата:
Сообщение: Re: PSQLException: ResultSet not positioned properly