X-Original-To: pgsql-jdbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 6FAD29FB1C8 for ; Mon, 14 Aug 2006 19:23:55 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 03996-09 for ; Mon, 14 Aug 2006 19:23:44 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [131.203.101.226]) by postgresql.org (Postfix) with ESMTP id C861C9FA332 for ; Mon, 14 Aug 2006 19:23:43 -0300 (ADT) Received: from 203-118-178-246.bliink.ihug.co.nz ([203.118.178.246] helo=[10.1.1.6]) by yass.opencloud.co.nz with asmtp (TLS-1.0:DHE_RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1GCkqR-0007ig-Ef; Tue, 15 Aug 2006 10:23:39 +1200 Message-ID: <44E0F7E9.4080800@opencloud.com> Date: Tue, 15 Aug 2006 10:23:37 +1200 From: Oliver Jowett User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: David Gagnon CC: pgsql-jdbc@postgresql.org Subject: Re: upgrading from pg74.216.jdbc3.jar to 8.1-407 JDBC 3 References: <44E07619.9090204@siunik.com> In-Reply-To: <44E07619.9090204@siunik.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.21 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200608/79 X-Sequence-Number: 15606 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