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

Regression: binary(16) is returned as String by getObject()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.6
    • Fix Version/s: 3.0.7
    • Component/s: JDBC compatibility
    • Labels:
      None
    • Environment:
      Ubuntu Linux

      Description

      In org.mariadb.jdbc:mariadb-java-client:2.7.6, calling getObject() on a ResultSet where the underlying column is defined as binary(16) returns byte[], which is expected.

      However, the 3.x series returns a String instead. This seems to me like a serious regression.

      My server is:

      mysql Ver 15.1 Distrib 10.6.7-MariaDB, for debian-linux-gnu (x86_64) using EditLine wrapper

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              diego dupin Diego Dupin
              Reporter:
              amin Amin Ahmad
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.