Derby
  1. Derby
  2. DERBY-584

Mismatch between DatabaseMetaData and ResultSetMetaData for NUMERIC type

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 10.1.1.0
    • Fix Version/s: None
    • Component/s: JDBC, Network Client
    • Urgency:
      Normal
    • Bug behavior facts:
      Embedded/Client difference

      Description

      The Derby Reference Manual says that NUMERIC is a synonyn for DECIMAL. If you create a NUMERIC column, the Derby client DatabaseMetaData reports that the type is java.sql.NUMERIC. However, if you select from the table, the ResultSetMetaData reports that the type is java.sql.DECIMAL.

      I don't really care what type we report. I just think we should be consistent.

        Issue Links

          Activity

          Hide
          Rick Hillegas added a comment -

          As a first cut at testing a fix for this issue, try running DatabaseMetaDataTest and the compatibility tests. When those run cleanly, you should try the full regression test suite.

          Show
          Rick Hillegas added a comment - As a first cut at testing a fix for this issue, try running DatabaseMetaDataTest and the compatibility tests. When those run cleanly, you should try the full regression test suite.
          Hide
          Mike Matrigali added a comment -

          Triaged July 2, 2009: assigned normal urgency.
          I am guessing the difference is an embedded vs. client difference, but just a guess.

          Show
          Mike Matrigali added a comment - Triaged July 2, 2009: assigned normal urgency. I am guessing the difference is an embedded vs. client difference, but just a guess.
          Hide
          Rick Hillegas added a comment -

          Update which version this bug affects.

          Show
          Rick Hillegas added a comment - Update which version this bug affects.

            People

            • Assignee:
              Unassigned
              Reporter:
              Rick Hillegas
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Development