Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-724

ResultSet#getTime(int, java.util.Calendar) ignores the Calendar parameter

    Details

      Description

      Calling java.sql.ResultSet#getTime(int, java.util.Calendar) with a non-null calendar parameter results in the Calendar being ignored and some other timezone being used to retrieve the time. I don't know which timezone is used exactly, maybe the JVM timezone or the server timezone, but one thing is fore sure: it's not the one of the provided calendar.

      This may look similar to CONJ-349 at first look, but I this other ticket relates to a much older version of Connector/J and, I think, a different problem.

      I will submit a PR with test and fix soon.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                diego dupin Diego Dupin
                Reporter:
                yrodiere Yoann Rodiere
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: