Uploaded image for project: 'MariaDB Client Library for Java Applications'
  1. MariaDB Client Library for Java Applications
  2. CONJ-54

ResultSet.getTimestamp() throws "Could not parse field as date" SQLException with "time" column

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.3
    • Fix Version/s: 1.1.4
    • Component/s: None
    • Labels:
      None

      Description

      With a column of type "time", any attempt to read it with rs.getTimestamp() throws a SQLException with message "Could not parse field as date." This only occurs with the MariaDB JDBC driver; the same operation works without incident on the regular MySQL JDBC driver.

      Sample junit provided.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            wlad Vladislav Vaintroub
            Reporter:
            fyrewyld Jody Grassel
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 hour, 20 minutes
              1h 20m