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

Permit setObject with java.util.Date parameter

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.0.5
    • 3.0.6
    • JDBC compatibility
    • None
    • openjdk-1.8.0.191 + MariaDB Server 10.3.15

    Description

      When I use java.sql.PreparedStatement setObject(int parameterIndex, Object x) to set java.util.Date object value,
      It will throw java.sql.SQLException: Type java.util.Date not supported type at rorg.mariadb.jdbc.BasePreparedStatement.setInternalObject(BasePreparedStatement.java:1103)
      Couldn't find any release note explain this behavior on version 3.0.5.

      Is this a compatibility issue? because It works fine on version 2.2.3 and 2.2.5 connector.

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            falcon1631 Chun-Liang Chen
            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.