fetchsize dynamically changeable?

Поиск
Список
Период
Сортировка
От Guido Fiala
Тема fetchsize dynamically changeable?
Дата
Msg-id 200407280839.56336.guido.fiala@dka-gmbh.de
обсуждение исходный текст
Ответы Re: fetchsize dynamically changeable?  (Oliver Jowett <oliver@opencloud.com>)
Re: fetchsize dynamically changeable?  (Oliver Jowett <oliver@opencloud.com>)
Список pgsql-jdbc
Given all the other requirements for cursors are met, is it possible to change
the fetchsize on the fly?

e.g.
conn.createStatement(...);
st.setFetchsize(1);
rs=st.executeQuery(...);//we got the first record
st.setFetchsize(10);
rs.next(); //now we got records nr. 2-11 in memory and sit at nr. 2

BTW - how is FETCH BACKWARD, what needs to be done to get it working?

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

Предыдущее
От: "j.random.programmer"
Дата:
Сообщение: Bug in 7.4_213 driver: returns VARCHAR instead of LONGVARCHAR for text types
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: fetchsize dynamically changeable?