Uploaded image for project: 'Commons DBCP'
  1. Commons DBCP
  2. DBCP-160

[dbcp][PATCH] Access to the underlying connection when using SharedPoolDataSource

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Nightly Builds
    • 1.3
    • None
    • Operating System: All
      Platform: All

    • 27853

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mark.riley@workplace-systems.plc.uk Mark Riley
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: