Re: Does 8.3/8.4 support lazy fetched + updateable +scrollable ResultSets?

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: Does 8.3/8.4 support lazy fetched + updateable +scrollable ResultSets?
Дата
Msg-id alpine.BSO.2.00.0905181802370.20696@leary.csoft.net
обсуждение исходный текст
Ответ на Re: Does 8.3/8.4 support lazy fetched + updateable +scrollable ResultSets?  (Clemens Eisserer <linuxhippy@gmail.com>)
Список pgsql-jdbc

On Mon, 18 May 2009, Clemens Eisserer wrote:

> Is it just the jdbc-driver lacking that functionality, or is backend
> functionality missing too?
>

You can look at it both ways.  Around the 7.4 release we had a patch that
almost worked for scrollable, cursor based resultsets, but it had some
bugs and never got committed.  At the time the driver converted queries to
explicit DECLARE CURSOR statements and then the patch made it do MOVE and
FETCH commands to retrieve the desired data.  For the 8.0 release the
driver was rewritten to use protocol level commands to create "portals"
which are more or less equivalent to cursors.  Unfortunately portals can
only move forward so they aren't scrollable.  The JDBC team's position is
that the backend and protocol lack support for scrollable portals and
that's what we're waiting for to implement this feature.

Kris Jurka


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

Предыдущее
От: Clemens Eisserer
Дата:
Сообщение: Re: Does 8.3/8.4 support lazy fetched + updateable +scrollable ResultSets?
Следующее
От: Susannah Relf
Дата:
Сообщение: Java persistence with enum types