Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-5410

sysinfo needs to be adjusted to indicate support for Java 7 jdbc 4.1 level

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.9.1.0
    • 10.8.2.2
    • Tools
    • None
    • Known fix, Newcomer, Patch Available

    Description

      Since 10.8.1.2 JDBC 4.1 is supported but sysinfo hasn't been updated, and so is not able to return updated JDBC level info.

      The addition needs to go here:
      Class: org.apache.derby.iapi.services.info.JVMInfo
      Method:
      /**
      Return Derby's understanding of the virtual machine's environment.
      */
      public static String derbyVMLevel()
      {
      switch (JDK_ID)

      { case J2SE_14: return J2ME ? "J2ME - JDBC for CDC/FP 1.1" : "J2SE 1.4 - JDBC 3.0"; case J2SE_142: return "J2SE 1.4.2 - JDBC 3.0"; case J2SE_15: return "J2SE 5.0 - JDBC 3.0"; case J2SE_16: return "Java SE 6 - JDBC 4.0"; default: return "?-?"; }

      }

      This was reported in email to derbydev by frank.pientka@gmx.de:
      http://old.nabble.com/Re%3A--VOTE--10.8.2.1-release-p32462975.html

      Attachments

        1. DERBY-5410_1.diff
          1 kB
          Myrna van Lunteren

        Issue Links

          Activity

            People

              kmarsden Katherine Marsden
              myrna Myrna van Lunteren
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: