Merging of new entities can fail depending on cascade order

Solution In Progress - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content