H6: Problem with order insert to table with batch is ON

Description

Described the problem here

I have attached test cases.

Attachments

1

Activity

Show:

Steve Ebersole March 28, 2023 at 7:04 PM

Steve Ebersole March 27, 2023 at 11:40 PM

To be honest, I’m not sure what needs to be done here. I wrote a test and ran it on both 5.6 and main (6.2)… it works exactly the same on both. So what exactly is the error being reported here?

Does this work because of your work on ?

Steve Ebersole March 27, 2023 at 11:17 PM

In 5.6 this “works” by disabling batching once generated values are involved - batching is disabled in order to access the generated values immediately after the insert/update. I just wanted that to be clear, if it was not.

In 6.2 there are some there are some bugs still being worked out with batching as we discussed on your other report.

FWIW, some version after 6.2 might offer the ability to combine generated values and batching, but that’s certain yet

Danilov Roman March 24, 2023 at 2:36 PM

In the process of testing the solutions that were described here, another problem appeared:

Marco Belladelli March 24, 2023 at 8:18 AM

I meant to say, with the manual refresh() workaround you’ll obtain a similar behavior.

Fixed

Details

Assignee

Reporter

Worked in

Components

Affects versions

Priority

Created March 15, 2023 at 6:16 PM
Updated December 3, 2024 at 12:46 PM
Resolved March 28, 2023 at 7:04 PM