You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Carl Franklin Hall (Jira)" <ji...@apache.org> on 2022/12/07 03:46:00 UTC
[jira] [Resolved] (DBUTILS-112) Provide DbUtils.rollbackQuietly() method
[ https://issues.apache.org/jira/browse/DBUTILS-112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carl Franklin Hall resolved DBUTILS-112.
----------------------------------------
Resolution: Fixed
Applied patch and built cleanly. Pushed to master.
> 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
> Assignee: Carl Franklin Hall
> Priority: Trivial
> Labels: features
> Fix For: 2.0
>
> 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
(v8.20.10#820010)