When DBLP_Publication entities get overwritten by the DBLPImporter+DBLPEntityPersister, it adds new instances of DBLP_Author, DBLP_Cite and DBLP_Editor which are linked to the DBLP_Publication that gets persisted. However, the old instances of DBLP_Author etc that were linked to theDBLP_Publication that gets overwritten don’t get deleted while it should trigger cascade delete.
Similar issue: https://forum.hibernate.org/viewtopic.php?f=1&t=948660

Even when I invoke

old.removeAllFromAuthors();
old.removeAllFromCite();
old.removeAllFromEditors();

before replicate, the respecting tables grow in size, not removing the old ones.

Submitted by Elmer van Chastelet on 7 October 2013 at 17:54

On 7 October 2013 at 17:54 Elmer van Chastelet tagged 65

On 17 October 2013 at 12:06 Elmer van Chastelet commented:

Fixed


On 17 October 2013 at 12:06 Elmer van Chastelet closed this issue.

Log in to post comments