Re: Bug in setFetchSize

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: Bug in setFetchSize
Дата
Msg-id 41B0CF42.3080907@opencloud.com
обсуждение исходный текст
Ответ на Re: Bug in setFetchSize  (Dave Smith <dave.smith@candata.com>)
Список pgsql-jdbc
Dave Smith wrote:
> Does it matter if the setAutoCommit is true or false .. or is it just an
> explicit commit(); call that would close the portal?

If autocommit is true then the driver shouldn't be using cursors at all
in theory (since they'd become invalid immediately).

Note that setAutoCommit() will do an implicit commit(), so if you're
running with autocommit off, doing some queries, calling setAutoCommit,
then trying to use the resultsets, then you will see similar problems.

Example code showing the problem?

-O

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

Предыдущее
От: Antonini Roberto
Дата:
Сообщение: connection timeout?
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: connection timeout?