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

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5.0
    • Fix Version/s: 2.5.1
    • Component/s: Other
    • Labels:
      None
    • Environment:
      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

              Assignee:
              diego dupin Diego Dupin
              Reporter:
              ApplePedlar Naoya Hatayama
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: