Return-Path: X-Original-To: apmail-batchee-dev-archive@minotaur.apache.org Delivered-To: apmail-batchee-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 96757118FE for ; Wed, 9 Jul 2014 09:56:26 +0000 (UTC) Received: (qmail 18621 invoked by uid 500); 9 Jul 2014 09:56:26 -0000 Delivered-To: apmail-batchee-dev-archive@batchee.apache.org Received: (qmail 18594 invoked by uid 500); 9 Jul 2014 09:56:26 -0000 Mailing-List: contact dev-help@batchee.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@batchee.incubator.apache.org Delivered-To: mailing list dev@batchee.incubator.apache.org Received: (qmail 18583 invoked by uid 99); 9 Jul 2014 09:56:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2014 09:56:26 +0000 X-ASF-Spam-Status: No, hits=-2000.7 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 09 Jul 2014 09:56:25 +0000 Received: (qmail 18127 invoked by uid 99); 9 Jul 2014 09:56:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2014 09:56:05 +0000 Date: Wed, 9 Jul 2014 09:56:05 +0000 (UTC) From: "Mark Struberg (JIRA)" To: dev@batchee.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (BATCHEE-44) Rollback should not swallow Exceptions 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/BATCHEE-44?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Struberg updated BATCHEE-44: --------------------------------- Fix Version/s: 0.2-incubating > Rollback should not swallow Exceptions > -------------------------------------- > > Key: BATCHEE-44 > URL: https://issues.apache.org/jira/browse/BATCHEE-44 > Project: BatchEE > Issue Type: Bug > Reporter: Mark Struberg > Fix For: 0.2-incubating > > > If an Exception occurs in a batch, the PersitenceManager will rollback the currently active transaction. > The problem arises if the Exception was caused by a database problem which implicitly did already close the Connection to the database. In this case the rollback itself will fail and cause an Exception as well. This causes us to only show the Exception caused by the rollback but miss the actually important _real_ cause of the problem - the original Exception -- This message was sent by Atlassian JIRA (v6.2#6252)