Re: Getting Reference cursors

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: Getting Reference cursors
Дата
Msg-id Pine.BSO.4.56.0506131030250.10929@leary.csoft.net
обсуждение исходный текст
Ответ на Re: Getting Reference cursors  (Andrés Luna <aluna@ifxcorp.com>)
Список pgsql-jdbc

On Mon, 13 Jun 2005, [iso-8859-1] Andr�s Luna wrote:

> Thanks for your quick answer. However, now I change to the 8.0 driver
> and still doesn�t work. The same code now fails during stored procedure
> execution. Here is the stack trace.
>
> java.sql.SQLException: ERROR: cursor "<unnamed portal 1>" does not exist

I'm not sure why this is happening, perhaps you have autocommit on?
Although that should have caused a failure with the 7.4 driver as well.
I've attached the test case I used to verify this works.  Could you show
us the code that is failing here?

Kris Jurka
Вложения

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

Предыдущее
От: Andrés Luna
Дата:
Сообщение: Re: Getting Reference cursors
Следующее
От: Sergey Pariev
Дата:
Сообщение: Re: in(...) clause and PreparedStatement