pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Lewis <mark.lewis@mir3.com>
To: pgsql-jdbc@postgresql.org
Subject: Problems after upgrading from 7.4.6 driver to 8.0.2 driver
Date: Mon, 25 Apr 2005 16:38:43 -0700
Message-ID: <1114472323.923.56.camel@amateljan.mirlogic.com> (raw)

After upgrading from pg74.215.jdbc3.jar to postgresql-8.0-310.jdbc3.jar,
I've encountered problems getting a "This statement has been closed"
exception when using a PreparedStatement.

The application is using Jakarta's DBCP 1 connection pooling with
prepared statement caching, and is configured to execute "select 1" each
time a connection is checked out from the pool to ensure that the
connection is still alive, so I'm pretty sure the server connection is
still good.

Are there any known gotchas migrating to the new server prepared
statement implementation?  Something that could be causing statements to
close when they otherwise would not be?

Thanks,
Mark Lewis

Thanks,
Mark Lewis


 




view thread (2+ messages)  latest in thread

Message-ID: <1114472323.923.56.camel@amateljan.mirlogic.com>
Permalink:  ../1114472323.923.56.camel@amateljan.mirlogic.com/
Also on:    postgresql.org/message-id/1114472323.923.56.camel@amateljan.mirlogic.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: mark.lewis@mir3.com
  Subject: Re: Problems after upgrading from 7.4.6 driver to 8.0.2 driver
  In-Reply-To: <1114472323.923.56.camel@amateljan.mirlogic.com>
  References: <1114472323.923.56.camel@amateljan.mirlogic.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