Mihalcea Vlad edited a comment on an issue
Hibernate ORM / Bug HHH-5855
The method "merge" from the EntityManager causes a duplicated "insert" of a child entity.
The method "merge" from the EntityManager causes a duplicated "insert" of a child entity.
Related to HHH-3332

h3.Observed Behavior:
When you have an Entity A with a OneToMany(fetch=LAZY, cascade=ALL or (MERGE and PERSIST)) relationship to another Entity B and attempt to add an new B instance to A hibernate will generate a duplicate insert command upon co...