InsertOrderingWithBidirectionalManyToMany fails when order_inserts is disabled

Description

If you run org.hibernate.test.insertordering.InsertOrderingWithBidirectionalManyToMany with order_inserts set to false, it fails.

Discovered while trying to create test cases for and HHH-12086.

Seems to me that ALL tests should succeed whether order_inserts is true or false – if not, then either there's a bug in the test or a bug in the implementation.

I'll provide a pull request with a test case.

Environment

None

Assignee

Gail Badner

Reporter

AndersW

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

Priority

Major
Configure