DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27853>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27853

[PATCH] Access to the underlying connection when using SharedPoolDataSource

           Summary: [PATCH] Access to the underlying connection when using
                    SharedPoolDataSource
           Product: Commons
           Version: Nightly Builds
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Dbcp
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to