commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Thomas (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (DBCP-160) [dbcp][PATCH] Access to the underlying connection when using SharedPoolDataSource
Date Mon, 05 Oct 2009 20:35:31 GMT

     [ 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.


Mime
View raw message