setFetchSize with ResultSet.TYPE_SCROLL_INSENSITIVE

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема setFetchSize with ResultSet.TYPE_SCROLL_INSENSITIVE
Дата
Msg-id 20150219162723.GA2501@alvh.no-ip.org
обсуждение исходный текст
Ответы Re: setFetchSize with ResultSet.TYPE_SCROLL_INSENSITIVE  (Dave Cramer <pg@fastcrypt.com>)
Список pgsql-jdbc
I rejected this moderated message to pgsql-general by mistake, so here's
a re-post to pgsql-jdbc.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Hello

According to the following link (https://jdbc.postgresql.org/documentation/head/query.html) setting the fetch size is
onlypossible if ResultSet type is set to ResultSet.TYPE_FORWARD_ONLY. 

However, I'm not facing any problems when setting the type to ResultSet.TYPE_SCROLL_INSENSITIVE: I'm able to move
forwardAND backwards in the result set, yet fetch size still working... 

Am I missing something here or is the description outdated / not counting for all driver versions?

PS: I'm using JDBC driver 9.3 1100

Thanks


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

Предыдущее
От: Stephen Nelson
Дата:
Сообщение: Re: release process
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: setFetchSize with ResultSet.TYPE_SCROLL_INSENSITIVE