| In case of @OneToMany bidirectional associations, without any definitions of cascade. When we delete the entity owner, it might happen that the associates entities would still keep the reference to the, now deleted, entity owner. Thus, if we try to create another entity owner, recycling the id owned by the former, we could have associations, between the latter and associated entities, never defined by the user. It seems affect grid and document dialects, such as MongoDB or Infinispan. On the other hand graph dialects, like Neo4j, have no issue. Probability because the latter do not need to handle inverse of bidirectional associations. Test case: CleanJoinColumnsAfterDeleteReferencedEntitiesTest.patch |