Re: scrollable ResultSet advise - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: scrollable ResultSet advise
Date
Msg-id Pine.BSO.4.64.0805150213490.15413@leary.csoft.net
Whole thread Raw
In response to scrollable ResultSet advise  (Achilleas Mantzios <achill@matrix.gatewaynet.com>)
Responses Re: scrollable ResultSet advise  (Achilleas Mantzios <achill@matrix.gatewaynet.com>)
List 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

pgsql-jdbc by date:

Previous
From: Arie Ozarov
Date:
Subject: Not fetching the entire result set when using holdable cursors
Next
From: Kris Jurka
Date:
Subject: Re: Not fetching the entire result set when using holdable cursors