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

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.8, 1.5.9
    • Fix Version/s: 1.6.1, 2.0.2
    • Labels:
      None
    • Environment:
      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

            Assignee:
            diego dupin Diego Dupin
            Reporter:
            zhuq QING ZHU
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: