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

EmbedCallableStatement ignores Calendar in getDate, getTime and getTimestamp

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.5.3.0
    • 10.5.3.1, 10.6.1.0
    • JDBC
    • None
    • Repro attached
    • Embedded/Client difference, Wrong query result

    Description

      The getDate(), getTime() and getTimestamp() methods in EmbedCallableStatement ignore the Calendar argument, and therefore give the wrong results if some other calendar than the default calendar is passed in. The client driver seems to do the right thing, though.

      Also note that none of these methods are ever called by any of the regression tests.

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--derby-4615-1a.diff
          10 kB
          Knut Anders Hatlen
        2. ASF.LICENSE.NOT.GRANTED--test.diff
          7 kB
          Knut Anders Hatlen

        Issue Links

          Activity

            People

              knutanders Knut Anders Hatlen
              knutanders Knut Anders Hatlen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: