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

[jira] [Commented] (DBCP-515) Do not try to register synchronization when the transaction is no longer active

    [ https://issues.apache.org/jira/browse/DBCP-515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16550617#comment-16550617 ] 

Tom Jenkinson commented on DBCP-515:
------------------------------------

PR over here: https://issues.apache.org/jira/browse/DBCP-515

> Do not try to register synchronization when the transaction is no longer active
> -------------------------------------------------------------------------------
>
>                 Key: DBCP-515
>                 URL: https://issues.apache.org/jira/browse/DBCP-515
>             Project: Commons DBCP
>          Issue Type: Bug
>            Reporter: Tom Jenkinson
>            Priority: Major
>
> The current code can try to register a synchronization with the transaction manager when the only transaction on the thread is already committed (e.g. if someone tries to call getConnection in aftercompletion. We should not try to register at that point as it is invalid.



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