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

Resultset.getColumnType() wrong value for unsigned values

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • 3.6
    • None
    • None

    Description

      see https://github.com/mariadb-corporation/mariadb-connector-j/pull/194.

      Resultset.getColumnType() wrong value for unsigned values

      Column Type 2.x 3.x
      TINYINT UNSIGNED Types.TINYINT Types.SMALLINT
      SMALLINT UNSIGNED Types.SMALLINT Types.INTEGER
      INT UNSIGNED Types.INTEGER Types.BIGINT

      Result change correspond to java type, while getColumnType corresponds to database type, so this change is erroneous

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            diego dupin Diego Dupin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.