pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedupgrading from pg74.216.jdbc3.jar to 8.1-407 JDBC 3 Shoud I?
2+ messages / 2 participants
[nested] [flat]
* upgrading from pg74.216.jdbc3.jar to 8.1-407 JDBC 3 Shoud I?
@ 2006-08-14 13:09 David Gagnon <dgagnon@siunik.com>
0 siblings, 1 reply; 2+ messages in thread
From: David Gagnon @ 2006-08-14 13:09 UTC (permalink / raw)
To: pgsql-jdbc
Hi all,
I'm running 8.4 and to make a short story I'm doing some test with my
Tomcat/postgresql application. I shutdown the service and restart it
and notice that sometime just get ConnectionResetByPeerException (If I
remember well). So I tried the latest JDBC driver to see if I will get
this problem and run into this, I suppose really common problem:
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?
On the other side is it worth upgrading to 8.1 driver. Can he solve my
reliability problem. (stability, reliability, etc.).. should I upgrade?
Thanks for your help !
Best Regards
/David
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: upgrading from pg74.216.jdbc3.jar to 8.1-407 JDBC 3
@ 2006-08-14 22:23 Oliver Jowett <oliver@opencloud.com>
parent: David Gagnon <dgagnon@siunik.com>
0 siblings, 0 replies; 2+ messages in thread
From: Oliver Jowett @ 2006-08-14 22:23 UTC (permalink / raw)
To: David Gagnon <dgagnon@siunik.com>; +Cc: 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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2006-08-14 22:23 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-08-14 13:09 upgrading from pg74.216.jdbc3.jar to 8.1-407 JDBC 3 Shoud I? David Gagnon <dgagnon@siunik.com>
2006-08-14 22:23 ` Re: upgrading from pg74.216.jdbc3.jar to 8.1-407 JDBC 3 Oliver Jowett <oliver@opencloud.com>
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