Merging of new entities can fail depending on cascade order
Issue
Depending on the initialization order of entities a cascaded merge is failing with java.lang.IllegalStateException: MergeContext#attempt to create managed -> managed mapping with different entities
Environment
EAP 7.1 CP2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.