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

getGeneratedKeys() return ResultSet with column name

    XMLWordPrintable

Details

    Description

      It would be preferable if the ResultSet returned by getGeneratedKeys() provided the name of the table columns with ResultSet.getMetaData().getColumnName(int index) rather than insert_id

      Otherwise it assumes that we already know the name of the column which is the primary key!
      In any case this does not follow the JDBC specifications.

      see: Statement.java

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            prrvchr prrvchr
            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.