Re: upgrading from pg74.216.jdbc3.jar to 8.1-407 JDBC 3 - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: upgrading from pg74.216.jdbc3.jar to 8.1-407 JDBC 3
Date
Msg-id 44E0F7E9.4080800@opencloud.com
Whole thread Raw
In response to upgrading from pg74.216.jdbc3.jar to 8.1-407 JDBC 3 Shoud I?  (David Gagnon <dgagnon@siunik.com>)
List 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

pgsql-jdbc by date:

Previous
From: Emi Lu
Date:
Subject: Re: SQLMAP IBATIS insert values from web forms to a money
Next
From: "James Im"
Date:
Subject: Re: SQL query never ends