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

Allow DBCP to work with old Java 6/JDBC drivers without throwing AbstractMethodError

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.0
    • Fix Version/s: 2.6.0
    • Labels:
      None

      Description

      Allow DBCP to work with old Java 6/JDBC 4.0 drivers without throwing AbstractMethodError.

      As of version 2.5.0, DBCP uses methods from Java 7/JDBC 4.1 like Connection#getSchema(). When DBCP tries to call this method, the JVM throws a AbstractMethodError.

      DBCP will detect this condition and use null for such schema values.

        Attachments

          Activity

            People

            • Assignee:
              ggregory Gary D. Gregory
              Reporter:
              ggregory Gary D. Gregory
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: