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

DatabaseMetaData.getImportedKeys should return real value for PK_NAME column

Details

    Description

      For consistency with the change made in CONJ-764 and since primary keys are named PRIMARY (see MariaDbDatabaseMetaData.getPrimaryKeys), DatabaseMetaData.getImportedKeys should return PRIMARY (instead of "null") for PK_NAME column.

      With the change made for the PK column in exported keys, it is no longer possible to match an exported key from one table with the imported key in the related table.

      Attachments

        Issue Links

          Activity

            p2r Peer Törngren created issue -
            p2r Peer Törngren made changes -
            Field Original Value New Value
            diego dupin Diego Dupin made changes -
            Fix Version/s 3.0 [ 25708 ]
            Fix Version/s 2.7 [ 25709 ]
            diego dupin Diego Dupin made changes -
            Summary DatabaseMetaData.getImportedKeys should return "PRIMARY" for PK_NAME column DatabaseMetaData.getImportedKeys should return real value for PK_NAME column
            diego dupin Diego Dupin made changes -
            Fix Version/s 2.7.7 [ 28325 ]
            Fix Version/s 3.0.9 [ 28449 ]
            Fix Version/s 3.1.0 [ 28435 ]
            Fix Version/s 3.0 [ 25708 ]
            Fix Version/s 2.7 [ 25709 ]
            diego dupin Diego Dupin made changes -
            issue.field.resolutiondate 2022-11-03 13:39:10.0 2022-11-03 13:39:10.7
            diego dupin Diego Dupin made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Closed [ 6 ]
            robert-dbvis Robert Olofsson made changes -

            People

              diego dupin Diego Dupin
              p2r Peer Törngren
              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.