commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maciek Siemczyk (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DBUTILS-112) Provide DbUtils.rollbackQuietly() method
Date Wed, 04 May 2016 21:09:12 GMT

     [ 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)

Mime
View raw message