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

Derby returns incorrect values for "LENGTH" column of DatabaseMetaData.getProcedureColumns() result set.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.0.2.0, 10.0.2.1, 10.0.2.2, 10.1.1.0
    • 10.1.1.0
    • JDBC
    • None

    Description

      Based on discussion from the following thread:

      http://article.gmane.org/gmane.comp.apache.db.derby.devel/2585

      The Derby implementation of DatabaseMetaData.getProcedureColumns() returns incorrect values for the "LENGTH" column of the result, primarily because there is no clear definition in the JDBC spec regarding what this method is supposed to return. Discussion in the above-posted thread concluded that the intent of the JDBC metadata is to "match the ODBC metadata", at least regard to this particular issue. So changes reflecting this conclusion should be submitted to Derby.

      Attachments

        1. derby-319.stat
          1.0 kB
          A B
        2. derby-319.patch
          48 kB
          A B

        Activity

          People

            army A B
            army A B
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: