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

Metadata TINYTEXT type return wrong (Types.LONGVARCHAR instead of Types.VARCHAR)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.4
    • Fix Version/s: 1.5.5
    • Component/s: Other
    • Labels:
      None
    • Environment:
      Linux Kernel-2.6.32-glibc-2.12 x86_64 64bit

      Description

      Getting java data type value -1 (LONGVARCHAR) instead of 12 (VARCHAR) for a DESCRIBE of a TINYTEXT column.
      Please note that MySQL returns type 12 for TINYTEXT fields.

        Attachments

        1. repro1.class
          4 kB
        2. repro1.java
          5 kB
        3. repro1.log
          1 kB
        4. setup
          0.1 kB

          Activity

            People

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