commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Steitz (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DBCP-436) Avoid executing ROLLBACK when transaction is not active
Date Sun, 02 Aug 2015 22:56:04 GMT

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

Phil Steitz updated DBCP-436:
-----------------------------
    Fix Version/s: 2.2

Pushing out to 2.2 (or eventual WONT_FIX)

> Avoid executing ROLLBACK when transaction is not active
> -------------------------------------------------------
>
>                 Key: DBCP-436
>                 URL: https://issues.apache.org/jira/browse/DBCP-436
>             Project: Commons Dbcp
>          Issue Type: Improvement
>            Reporter: Michael Mikhulya
>              Labels: performance
>             Fix For: 2.2
>
>
> {{rollbackOnReturn}} terminates the transaction by calling {{rollback}} on the connection
as it is returned to the pool.
> It hurts performance.
> I suggest to don't call {{rollback}} if transaction is not active.
> Such improvement is done in HikariCP:
> https://github.com/brettwooldridge/HikariCP/issues/177



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

Mime
View raw message