[
https://issues.apache.org/jira/browse/DBCP-515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary Gregory resolved DBCP-515.
-------------------------------
Resolution: Fixed
Fix Version/s: 2.6.0
Applied a different, more compact, version of the patch. The test is the same
though. Closes #16.
Please verify and close this ticket.
> 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
> Fix For: 2.6.0
>
>
> 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)