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

MySQLPreparedStatement.setObject cannot handle java.lang.Character type

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 2.6.2
    • 2.7.0
    • Other
    • None

    Description

      BasePrepareStatement.setObject() doesn't handle the Character data type, resulting in it falling back to sending the serialized version of the Character object.

      This is of course compliant with JDBC, which does not define a mapping for the Character data type; however, since this was present in a previous version of the driver, upgrading broke our application and we had to deploy a workaround.

      Attachments

        Issue Links

          Activity

            vmsh0 Riccardo Paolo Bestetti created issue -
            vmsh0 Riccardo Paolo Bestetti made changes -
            Field Original Value New Value
            diego dupin Diego Dupin made changes -
            Fix Version/s 2.6.3 [ 24719 ]
            diego dupin Diego Dupin made changes -
            issue.field.resolutiondate 2020-08-19 14:19:12.0 2020-08-19 14:19:12.142
            diego dupin Diego Dupin made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Closed [ 6 ]
            diego dupin Diego Dupin made changes -
            Fix Version/s 2.7.0 [ 24279 ]
            Fix Version/s 2.6.3 [ 24719 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 112495 ] MariaDB v4 [ 135191 ]

            People

              diego dupin Diego Dupin
              vmsh0 Riccardo Paolo Bestetti
              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.