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

Type java.time.OffsetDateTime not supported type

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.0.4
    • 3.0.5
    • JDBC 4.2 compatibility
    • None
    • 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

            diego dupin Diego Dupin
            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.