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

Type java.time.OffsetDateTime not supported type

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.4
    • Fix Version/s: 3.0.5
    • Component/s: JDBC 4.2 compatibility
    • Labels:
      None
    • Environment:
      MariaDB 10.8 Docker image

      Description

      When using MariaDB JDBC 3.0.4 I am getting the following exception:

      java.sql.SQLException: Type java.time.OffsetDateTime not supported type
              at org.mariadb.jdbc.BasePreparedStatement.setInternalObject(BasePreparedStatement.java:1084) ~[mariadb-java-client-3.0.4.jar:?]
              at org.mariadb.jdbc.BasePreparedStatement.setObject(BasePreparedStatement.java:625) ~[mariadb-java-client-3.0.4.jar:?]
      

      The same code works with MariaDB JDBC 2.7.5.

        Attachments

          Activity

            People

            Assignee:
            diego dupin Diego Dupin
            Reporter:
            ilgrosso Francesco Chicchiriccò
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.