[
https://issues.apache.org/jira/browse/DBCP-515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary Gregory updated DBCP-515:
------------------------------
External issue URL: https://github.com/apache/commons-dbcp/pull/16
External issue ID: 16
> 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)