I have a ParentDO with @OneToMany to a List using mappedBy and ChildDO has @ManyToOne to the ParentDO.
I want @ Version annotation on the ParentDO only.
According to my observation, the EntityManager.merge(parentDO) operation is inconsistent and updates the version in ParentDO intermittently ( Not sure due to this “bidirectional child-owning-side-parent association mapping” or what )
Can anyone please answer on when hibernate will update the version considering we have this DO relationship.
Please please help