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

Multi insert should return multi generated keys when using MyBatis

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 2.5.0
    • 2.5.1
    • Other
    • None
    • MySQL5.6
      MyBatis 3.4.6
      Java8

    Description

      Hi.

      There are side effects of fixing CONJ-706.
      Multi insert now returns only one generated key.

      For example, in MyBatis, the generated key can be mapped to the object at insertion.
      Due to this change, generated keys are not mapped when inserting multiple rows.

      Thank you.

      Attachments

        Issue Links

          Activity

            People

              diego dupin Diego Dupin
              ApplePedlar Naoya Hatayama
              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.