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

Embedded ResultSet.getTimestamp on a TIME column returns a java.sql.Timestamp with a date portion that can be incorrect.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.0.2.0, 10.0.2.1, 10.0.2.2, 10.1.1.0, 10.1.2.1, 10.1.3.1, 10.1.3.2, 10.1.3.3, 10.2.1.6, 10.3.1.4
    • Fix Version/s: 10.2.1.6, 10.2.2.0, 10.3.1.4
    • Component/s: JDBC
    • Labels:
      None

      Description

      The date portion of the java.sql.Timestamp from a TIME column is intended to be the current date but instead can be any date value, based upon the last getXXX call that required a Java Calendar object.

        Attachments

        1. derby1811_diff.txt
          3 kB
          Daniel John Debrunner

          Issue Links

            Activity

              People

              • Assignee:
                djd Daniel John Debrunner
                Reporter:
                djd Daniel John Debrunner
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: