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

Permit setObject with java.util.Date parameter

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.5
    • Fix Version/s: 3.0.6
    • Component/s: JDBC compatibility
    • Labels:
      None
    • Environment:
      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

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