MapsId and flushMode commit causes PersistenceException

Description

If a entity uses @MapsId on another entity you can not persist both of these entities in the same transaction.

Exception obtained:

Environment

None

Status

Assignee

Chris Cranford

Reporter

Mårten Bohlin

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Worked in

5.1.14

Affects versions

Priority

Major
Configure