Re: not fetching all query results

Поиск
Список
Период
Сортировка
От Radim Kolar
Тема Re: not fetching all query results
Дата
Msg-id 500C1477.8010901@filez.com
обсуждение исходный текст
Ответ на Re: not fetching all query results  (Kris Jurka <books@ejurka.com>)
Список pgsql-jdbc
> A transaction is required to keep the portal (protocol level cursor)
> open.  In autocommit mode, each batch fetched runs in its own
> transaction.  So after the first batch is fetched, the autocommit
> transaction ends and the cursor is destroyed.  So the next batch fetch
> cannot work.
what about to create transaction for each Statement in autocommit mode.
after calling statement.close() close automatically created transaction.

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

Предыдущее
От: "ml-tb"
Дата:
Сообщение: Re: not fetching all query results
Следующее
От: BJ Freeman
Дата:
Сообщение: upgrade causes psql to not work