Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CC43C77B2 for ; Wed, 17 Aug 2011 20:27:51 +0000 (UTC) Received: (qmail 60368 invoked by uid 500); 17 Aug 2011 20:27:51 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 60229 invoked by uid 500); 17 Aug 2011 20:27:50 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 60219 invoked by uid 99); 17 Aug 2011 20:27:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Aug 2011 20:27:50 +0000 X-ASF-Spam-Status: No, hits=-2001.1 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Aug 2011 20:27:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3803BC18A7 for ; Wed, 17 Aug 2011 20:27:27 +0000 (UTC) Date: Wed, 17 Aug 2011 20:27:27 +0000 (UTC) From: "Kathey Marsden (JIRA)" To: derby-dev@db.apache.org Message-ID: <761283210.46489.1313612847225.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1355285592.20630.1301461085740.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (DERBY-5163) [patch] fix up sql cleanup handling MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-5163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kathey Marsden updated DERBY-5163: ---------------------------------- Issue Type: Bug (was: Improvement) Changing this to a bug. Looking at the change, I wonder if it is ok to completely throw away the errors closing statements. It would be nice to see those included with a setNextException() so all errors get reported. > [patch] fix up sql cleanup handling > ----------------------------------- > > Key: DERBY-5163 > URL: https://issues.apache.org/jira/browse/DERBY-5163 > Project: Derby > Issue Type: Bug > Components: Tools > Affects Versions: 10.7.1.1 > Reporter: Dave Brosius > Assignee: Dave Brosius > Priority: Trivial > Fix For: 10.9.0.0 > > Attachments: sql_cleanup_fixes.diff > > > When a sql exception occurs, don't allow potential cascading sql problems when closing sql objects from masking the original cause of the exception. > Also make sure statements get closed. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira