batchee-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (BATCHEE-44) Rollback should not swallow Exceptions
Date Wed, 09 Jul 2014 11:48:04 GMT

     [ https://issues.apache.org/jira/browse/BATCHEE-44?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mark Struberg resolved BATCHEE-44.
----------------------------------

    Resolution: Fixed
      Assignee: Mark Struberg

> 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
>            Assignee: 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)

Mime
View raw message