Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 97316 invoked from network); 18 Jul 2007 06:47:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jul 2007 06:47:38 -0000 Received: (qmail 61295 invoked by uid 500); 18 Jul 2007 06:47:27 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 61226 invoked by uid 500); 18 Jul 2007 06:47:27 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 61212 invoked by uid 99); 18 Jul 2007 06:47:27 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jul 2007 23:47:27 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jul 2007 23:47:24 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B1613714204 for ; Tue, 17 Jul 2007 23:47:04 -0700 (PDT) Message-ID: <9113756.1184741224722.JavaMail.jira@brutus> Date: Tue, 17 Jul 2007 23:47:04 -0700 (PDT) From: "Phil Steitz (JIRA)" To: commons-dev@jakarta.apache.org Subject: [jira] Resolved: (DBCP-233) Allow connection, statement, and result set to be closed multiple times In-Reply-To: <11201382.1184645944484.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DBCP-233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Phil Steitz resolved DBCP-233. ------------------------------ Resolution: Fixed Patch applied. Many thanks. > Allow connection, statement, and result set to be closed multiple times > ----------------------------------------------------------------------- > > Key: DBCP-233 > URL: https://issues.apache.org/jira/browse/DBCP-233 > Project: Commons Dbcp > Issue Type: Improvement > Reporter: Dain Sundstrom > Fix For: 1.3 > > Attachments: CloseTwice.patch > > > This patch allows Connection, Statement, PreparedStatement, CallableStatement and ResultSet to be closed multiple times. The first time close is called the resource is closed and any subsequent calls have no effect. This behavior is required as per the JavaDocs for these classes. The patch adds tests for closing all types multiple times and updates any tests that incorrectly assert that a resource can be closed more then once. > This patch fixes DBCP-134 and DBCP-3 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org