Re: NullPointerException when calling ResultSet.absolute(int)

Поиск
Список
Период
Сортировка
Искать
От
Kris Jurka
Тема
Re: NullPointerException when calling ResultSet.absolute(int)
Дата
Msg-id
Pine.BSO.4.62.0508311345400.11441@leary.csoft.net
Ответ на
Список
Дерево обсуждения
NullPointerException when calling ResultSet.absolute(int) Clemens Eisserer <linuxhippy@gmail.com>
Re: NullPointerException when calling ResultSet.absolute(int) Clemens Eisserer <linuxhippy@gmail.com>
Re: NullPointerException when calling ResultSet.absolute(int) Oliver Jowett <oliver@opencloud.com>
Re: NullPointerException when calling ResultSet.absolute(int) Clemens Eisserer <linuxhippy@gmail.com>
Re: NullPointerException when calling ResultSet.absolute(int) Oliver Jowett <oliver@opencloud.com>
Re: NullPointerException when calling ResultSet.absolute(int) Clemens Eisserer <linuxhippy@gmail.com>
Re: NullPointerException when calling Mark Lewis <mark.lewis@mir3.com>
Re: NullPointerException when calling ResultSet.absolute(int) Oliver Jowett <oliver@opencloud.com>
Re: NullPointerException when calling ResultSet.absolute(int) Clemens Eisserer <linuxhippy@gmail.com>
Re: NullPointerException when calling ResultSet.absolute(int) Kris Jurka <books@ejurka.com>


On Wed, 31 Aug 2005, Clemens Eisserer wrote:

>>> Does that mean that the whole data is fetched from the server as soon
>>> as I use scrollable result-sets?
>>
> I wonder how hard this would be to implement, is it more than just
> caching the already fetched rows - and how much does postgresql's
> native protocol has support for this task?

The frontend-backend protocol only supports fetching forward in a cursor 
(portal).  To scroll a resultset based on a cursor you would have to use 
direct SQL manipulation of the cursor MOVE/FETCH.  Someone tried this 
awhile ago and came close to a working solution.  The driver source has 
changed significantly since then and in a direction that makes this a 
tougher thing to do...

http://archives.postgresql.org/pgsql-jdbc/2004-05/threads.php#00164


> Where can I get the current jdbc-sourcecode?

http://jdbc.postgresql.org/development/cvs.html

Kris Jurka

В списке pgsql-jdbc по дате отправления
От: Clemens Eisserer
Дата:
От: Dave Held
Дата:
FAQ