Re: upgrading from pg74.216.jdbc3.jar to 8.1-407 JDBC 3

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: David Gagnon <dgagnon(at)siunik(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: upgrading from pg74.216.jdbc3.jar to 8.1-407 JDBC 3
Date: 2006-08-14 22:23:37
Message-ID: 44E0F7E9.4080800@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message James Im 2006-08-18 16:09:58 Re: SQL query never ends
Previous Message Emi Lu 2006-08-14 14:06:37 Re: SQLMAP IBATIS insert values from web forms to a money