[
https://issues.apache.org/jira/browse/DBCP-160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Thomas resolved DBCP-160.
------------------------------
Resolution: Fixed
Better late than never, this has been fixed based on the proposed patch.
> [dbcp][PATCH] Access to the underlying connection when using
> SharedPoolDataSource
> ---------------------------------------------------------------------------------
>
> Key: DBCP-160
> URL: https://issues.apache.org/jira/browse/DBCP-160
> Project: Commons Dbcp
> Issue Type: Improvement
> Affects Versions: Nightly Builds
> Environment: Operating System: All
> Platform: All
> Reporter: Mark Riley
> Priority: Minor
> Fix For: 1.3
>
> Attachments: access_underlying_connection.txt
>
>
> Currently it is only possible to gain access to the underlying connection
> when
> using the BasicDataSource. However I have a requirement to access the
> underlying connection when using SharedPoolDataSource. Therefore I have
> created
> a patch (attached) that makes ConnectionImpl extend DelegatingConnection.
> This
> provides the access to the underlying connection that I require. Not sure if
> this is a satisfactory way of solving this problem, but here it is anyway.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.