commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Steitz (JIRA)" <j...@apache.org>
Subject [jira] Closed: (DBCP-160) [dbcp][PATCH] Access to the underlying connection when using SharedPoolDataSource
Date Mon, 15 Feb 2010 04:17:28 GMT

     [ https://issues.apache.org/jira/browse/DBCP-160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Phil Steitz closed DBCP-160.
----------------------------


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