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

PK_NAME returned by DatabaseMetadata.getPrimaryKeys() should not be null

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.5.8, 1.5.9
    • 1.6.1, 2.0.2
    • None
    • For MariaDB, driver version ="1.5.8" and "1.5.9",
      Maria DB server version: MariaDB 10.2.4 RC
      OS: windows 10

    Description

      PK_NAME returned in DatabaseMetadata.getPrimaryKeys() should not be null

      For MariaDB, driver version ="1.5.8" and "1.5.9",
      Maria DB server version: MariaDB 10.2.4 RC

      DatabaseMetadata.getPrimaryKeys() returns PK_NAME as null, which is incorrect.

      https://mariadb.com/kb/en/mariadb/create-table/, please note that constraint names cannot be defined by the user.

      This bug breaks IBM Cognos' mutual customers to generate relationship based on primary keys and foreign keys.

      Attachments

        Activity

          People

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