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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.0
    • 2.6.0
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: