Re: exception while upgrading driver

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: exception while upgrading driver
Дата
Msg-id 42A61519.1000704@opencloud.com
обсуждение исходный текст
Ответ на exception while upgrading driver  (Sathyajith G <sathyajith@inbox.com>)
Список pgsql-jdbc
Sathyajith G wrote:

>   ResultSet rs=Data.getResultSet(qry);

> I changed the driver to postgres 8.0.1.  Strangely now, the above code gives
> the exception "The resultset is closed". Please help.

Perhapse Data.getResultSet() closes the Statement used to execute the
query before returning -- closing the Statement also closes the ResultSet.

It's hard to diagnose further without seeing all the code that's running.

-O

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

Предыдущее
От: Oliver Jowett
Дата:
Сообщение: Re: 8.x driver with EJB CMP
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: exception while upgrading driver