JPA Updating Bidirectional Association
The question is should I apply merge on both sides as follows, and an I avoid the second merge with a cascade? You can use the cascade annotation element to propagate the effect of an operation to associated entities. The cascade functionality is most typically used in parent-child relationships. The merge operation is cascaded to … Read more