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

Add svn version number to DatabaseMetaData getDatabaseProductVersion and getDriverVersion() to improve supportability

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.1.3.2
    • 10.2.1.6, 10.3.1.4
    • JDBC
    • None
    • Normal
    • Release Note Needed

    Description

      getDatabaseProductVersion and getDriverVersion() report only the four digit Derby version number and not the svn build number. It would be useful to return the full version including the build number as sysinfo does: e.g. "10.1.2.4 - (392472)", That way it will be clear from application logs that collect this information exactly what revision level they are running if they are using rolled up fixes on the maintenance branch between releases.

      There may be risk in doing this however if applications are parsing the version information, but hopefully they will use getDatabaseMajorVersion() , getDatbaseMinorVersion, getDriverMajorVersion, and getDriverMinorVersion for such proccessing.

      Attachments

        1. DERBY-1547_v1.diff
          8 kB
          V.Narayanan
        2. DERBY-1547_v1.stat
          0.8 kB
          V.Narayanan
        3. DERBY-1547-sed.diff
          21 kB
          V.Narayanan
        4. DERBY-1547-sed.stat
          2 kB
          V.Narayanan
        5. derbyall_fail.txt
          0.1 kB
          V.Narayanan
        6. DERBY-1547-sed-v1.diff
          21 kB
          V.Narayanan
        7. DERBY-1547-sed-v1.stat
          2 kB
          V.Narayanan
        8. DERBY-1547-sed-v2.diff
          21 kB
          V.Narayanan
        9. DERBY-1547-sed-v2.stat
          2 kB
          V.Narayanan
        10. DERBY-1547-sed-v3.diff
          21 kB
          V.Narayanan
        11. DERBY-1547-sed-v3.stat
          2 kB
          V.Narayanan

        Activity

          People

            narayanan V.Narayanan
            kmarsden Katherine Marsden
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: