You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Maciek Siemczyk (JIRA)" <ji...@apache.org> on 2016/05/04 21:09:12 UTC

[jira] [Updated] (DBUTILS-112) Provide DbUtils.rollbackQuietly() method

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

Maciek Siemczyk updated DBUTILS-112:
------------------------------------
    Attachment: DBUTILS-112.patch

Here is a patch (with unit tests) that addresses this issue. Can someone pull it in please?

> Provide DbUtils.rollbackQuietly() method
> ----------------------------------------
>
>                 Key: DBUTILS-112
>                 URL: https://issues.apache.org/jira/browse/DBUTILS-112
>             Project: Commons DbUtils
>          Issue Type: Wish
>    Affects Versions: 1.5
>            Reporter: alexander brack
>            Priority: Trivial
>              Labels: features
>             Fix For: 1.7
>
>         Attachments: DBUTILS-112.patch
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> One has to surround DbUtils.rollback(conn) method-call with try/catch wich produces cluttered code. Connection has to remain open, that's why DbUtils.rollbackAndCloseQuietly(conn) method is ruled out.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)