[ 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]