You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Phil Steitz (JIRA)" <ji...@apache.org> on 2006/07/10 07:00:30 UTC

[jira] Updated: (DBCP-160) [dbcp][PATCH] Access to the underlying connection when using SharedPoolDataSource

     [ http://issues.apache.org/jira/browse/DBCP-160?page=all ]

Phil Steitz updated DBCP-160:
-----------------------------

    Bugzilla Id:   (was: 27853)
    Fix Version: 1.3

> [dbcp][PATCH] Access to the underlying connection when using SharedPoolDataSource
> ---------------------------------------------------------------------------------
>
>          Key: DBCP-160
>          URL: http://issues.apache.org/jira/browse/DBCP-160
>      Project: Commons Dbcp
>         Type: Improvement

>     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.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org