Re: Which Resultset types are supported "nativly"?

From: Kris Jurka <books(at)ejurka(dot)com>
To: Clemens Eisserer <linuxhippy(at)gmail(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Which Resultset types are supported "nativly"?
Date: 2007-07-07 14:42:56
Message-ID: Pine.BSO.4.64.0707071038030.12392@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Sat, 7 Jul 2007, Clemens Eisserer wrote:

> Currently I am writing a frontend for a postgres database using a
> framework which relies on ResultSets of this type:
>
> rs.setType(ResultSet.TYPE_SCROLL_INSENSITIVE);
> rs.setConcurrency(ResultSet.CONCUR_UPDATABLE);
>

Currently scroll sensitive result sets are unimplmeneted and are silently
remapped to insensitive results.

> Some time ago there was a discussion that with some options the
> postgres-jdbc driver would always send all results to the client,
> because some scolling-operations are not supported in the server.
>

The documentation describes the requirements for the driver not to
request all results at once:

http://jdbc.postgresql.org/documentation/82/query.html#query-with-cursor

Kris Jurka

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Marek Lewczuk 2007-07-08 19:48:19 patch - support for multi-dimensional arrays and NULL values
Previous Message Clemens Eisserer 2007-07-07 08:39:47 Which Resultset types are supported "nativly"?