Forcing use of cursor for large result sets

Поиск
Список
Период
Сортировка
От Brian G. Huber
Тема Forcing use of cursor for large result sets
Дата
Msg-id 002e01c44b87$fd7bbe70$6400a8c0@bghthinkpad
обсуждение исходный текст
Ответы Re: Forcing use of cursor for large result sets  (Kris Jurka <books@ejurka.com>)
Список pgsql-jdbc
Hello all -
 
I am attempting to force the use of a cursor for a resultset.  I have tried both forward-only and scrollable statements and am setting fetch size to 100 with a call to setFechSize(100) on the statement.  However, I do not think a cursor is being used because the entire result set is trying to cache, resulting in an outofMemoryError.  I am using pg74.213.jdbc3.jar with 7.4.2.
 
Any advice appreciated... Thanks-
BGH

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

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: urgent: autocommit & pg 7.4.1
Следующее
От: Cornelius Buschka
Дата:
Сообщение: Postgresql 7.4, Latest JDBC Driver, SET AUTOCOMMIT not supported