pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: David Gagnon <dgagnon@siunik.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: upgrading from  pg74.216.jdbc3.jar to 8.1-407 JDBC 3
Date: Tue, 15 Aug 2006 10:23:37 +1200
Message-ID: <44E0F7E9.4080800@opencloud.com> (raw)
In-Reply-To: <44E07619.9090204@siunik.com>
References: <44E07619.9090204@siunik.com>

David Gagnon wrote:

> BUG [main] (MappedStatement.java:908)  2006-08-14 07:46:43,062 : Error 
> executing 'role.getList' in '[Reader passed to buildSqlMap()]'. Check 
> the SQL statement. Cause: org.postgresql.util.PSQLException: L'opération 
> nécessite un scrollable ResultSet, mais ce ResultSet est FORWARD_ONLY.
> org.postgresql.util.PSQLException: L'opération nécessite un scrollable 
> ResultSet, mais ce ResultSet est FORWARD_ONLY.
> 
> Is there a way to default the JDBC driver so it behave like pg74.216 ?  
> The code come from a library so I cannot modify it? Is there a work around?

No. You'll need to fix the library so it follows the JDBC spec properly.

-O



view thread (2+ messages)

Message-ID: <44E0F7E9.4080800@opencloud.com>
Permalink:  ../44E0F7E9.4080800@opencloud.com/
Also on:    postgresql.org/message-id/44E0F7E9.4080800@opencloud.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: oliver@opencloud.com, dgagnon@siunik.com
  Subject: Re: upgrading from  pg74.216.jdbc3.jar to 8.1-407 JDBC 3
  In-Reply-To: <44E0F7E9.4080800@opencloud.com>
  References: <44E07619.9090204@siunik.com> <44E0F7E9.4080800@opencloud.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox