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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-jdbc by date

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