commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 27853] New: - [PATCH] Access to the underlying connection when using SharedPoolDataSource
Date Mon, 22 Mar 2004 17:37:23 GMT
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: commons-dev@jakarta.apache.org
        ReportedBy: mark.riley@workplace-systems.plc.uk


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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message