You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2018/07/25 23:15:00 UTC

[jira] [Updated] (DBCP-516) Do not double returnObject back to the pool

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

Gary Gregory updated DBCP-516:
------------------------------
    External issue URL: https://github.com/apache/commons-dbcp/pull/17
     External issue ID: 17

> Do not double returnObject back to the pool
> -------------------------------------------
>
>                 Key: DBCP-516
>                 URL: https://issues.apache.org/jira/browse/DBCP-516
>             Project: Commons DBCP
>          Issue Type: Bug
>            Reporter: Tom Jenkinson
>            Priority: Major
>
> It is possible for the same thread to return a connection to the pool twice:
> {code:java}
> // in TX
> c = getConnection()
> // in aftercompletion
> c.getWarnings()
> c.getWarnings(){code}
> This issue was uncovered after resolving DBCP-515.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)