pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Gagnon <dgagnon@siunik.com>
To: pgsql-jdbc@postgresql.org
Subject: upgrading from  pg74.216.jdbc3.jar to 8.1-407 JDBC 3  Shoud I?
Date: Mon, 14 Aug 2006 09:09:45 -0400
Message-ID: <44E07619.9090204@siunik.com> (raw)

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




view thread (2+ messages)  latest in thread

Message-ID: <44E07619.9090204@siunik.com>
Permalink:  ../44E07619.9090204@siunik.com/
Also on:    postgresql.org/message-id/44E07619.9090204@siunik.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: dgagnon@siunik.com
  Subject: Re: upgrading from  pg74.216.jdbc3.jar to 8.1-407 JDBC 3  Shoud I?
  In-Reply-To: <44E07619.9090204@siunik.com>
  References: <44E07619.9090204@siunik.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