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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
