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

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

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