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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 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
    • 10.2.1.6, 10.2.2.0, 10.3.1.4
    • JDBC
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: