Skip site navigation (1) Skip section navigation (2)

Re: scrollable ResultSet advise

From: Kris Jurka <books(at)ejurka(dot)com>
To: Achilleas Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: scrollable ResultSet advise
Date: 2008-05-15 06:14:52
Message-ID: Pine.BSO.4.64.0805150213490.15413@leary.csoft.net (view raw or flat)
Thread:
Lists: pgsql-jdbc

On Mon, 12 May 2008, Achilleas Mantzios wrote:

> However, in plain connnection.prepareStatement(String sql) calls, 
> ResultSet type defaults to FORWARD_ONLY, making the above code broken.
>
> I am wandering if there is a quick way to solve this problem, without 
> touching the huge number of PreparedStatements in the code.

The easiest thing would just be to adjust the driver source code to 
restore the old behavior.

Kris Jurka

In response to

Responses

pgsql-jdbc by date

Next:From: Achilleas MantziosDate: 2008-05-15 06:44:54
Subject: Re: scrollable ResultSet advise
Previous:From: Kris JurkaDate: 2008-05-15 06:10:35
Subject: Re: Not fetching the entire result set when using holdable cursors

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group