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

DelegatingConnection isWrapperFor dies on older JDBC drivers

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.3.1, 1.4.1, 1.5.1, 2.0
    • Labels:
      None

      Description

      The isWrapperFor function simply calls towards to the delegated connection iswrappedfor function instead of checking the result first by hand like in the unwrap function.

        Activity

        Hide
        markt Mark Thomas added a comment -

        Thanks for the patch. It has been applied to svn and will be included in the next release.

        Show
        markt Mark Thomas added a comment - Thanks for the patch. It has been applied to svn and will be included in the next release.
        Hide
        balazs.zsoldos Balazs Zsoldos added a comment -

        With the tiny patch applied the isWrappedFor function will work well even with JDBC drivers that do not implement this function (e.g. Postgres 9.1 or H2)

        Show
        balazs.zsoldos Balazs Zsoldos added a comment - With the tiny patch applied the isWrappedFor function will work well even with JDBC drivers that do not implement this function (e.g. Postgres 9.1 or H2)

          People

          • Assignee:
            Unassigned
            Reporter:
            balazs.zsoldos Balazs Zsoldos
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 1h
              1h
              Remaining:
              Remaining Estimate - 1h
              1h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development