batchee-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (JIRA)" <>
Subject [jira] [Updated] (BATCHEE-44) Rollback should not swallow Exceptions
Date Wed, 09 Jul 2014 09:56:05 GMT


Mark Struberg updated BATCHEE-44:

    Fix Version/s: 0.2-incubating

> Rollback should not swallow Exceptions
> --------------------------------------
>                 Key: BATCHEE-44
>                 URL:
>             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

View raw message