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 Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: jdbc-1.1.3
    • Fix Version/s: jdbc-1.1.4
    • Labels:
      None
    • Global Rank:
      3311

      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:
            Vladislav Vaintroub
            Reporter:
            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