X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 42BD553AE8 for ; Mon, 25 Apr 2005 20:40:09 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 74130-06 for ; Mon, 25 Apr 2005 23:40:04 +0000 (GMT) Received: from mir3-fs.mir3.com (unknown [216.74.11.46]) by svr1.postgresql.org (Postfix) with ESMTP id E6BA053ADC for ; Mon, 25 Apr 2005 20:40:03 -0300 (ADT) Received: from amateljan.mirlogic.com ([172.16.2.68]) by mir3-fs.mir3.com with Microsoft SMTPSVC(5.0.2195.5329); Mon, 25 Apr 2005 16:40:58 -0700 Subject: Problems after upgrading from 7.4.6 driver to 8.0.2 driver From: Mark Lewis To: pgsql-jdbc@postgresql.org Content-Type: text/plain Organization: MIR3, Inc. Message-Id: <1114472323.923.56.camel@amateljan.mirlogic.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 (1.4.4-3) Date: Mon, 25 Apr 2005 16:38:43 -0700 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 25 Apr 2005 23:40:58.0651 (UTC) FILETIME=[3B57B6B0:01C549F0] X-Virus-Scanned: by amavisd-new at hub.org X-Archive-Number: 200504/159 X-Sequence-Number: 12766 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