You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@batchee.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2014/07/09 11:56:05 UTC
[jira] [Updated] (BATCHEE-44) Rollback should not swallow
Exceptions
[ 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)