issue-113: Fix all Delete Operations #114

Merged
sebastian merged 4 commits from issue-113 into master 2024-04-17 20:25:39 +02:00
Showing only changes of commit aa6eb9bfb2 - Show all commits

View File

@ -34,7 +34,7 @@ public class Task {
@OneToOne(mappedBy = "task", cascade = CascadeType.ALL, orphanRemoval = true) @OneToOne(mappedBy = "task", cascade = CascadeType.ALL, orphanRemoval = true)
private TaskSerieItem taskSerieItem; private TaskSerieItem taskSerieItem;
@OneToMany(mappedBy = "parent", cascade = CascadeType.ALL, orphanRemoval = true, fetch = FetchType.EAGER) @OneToMany(mappedBy = "parent", cascade = CascadeType.REMOVE, orphanRemoval = true, fetch = FetchType.EAGER)
private Set<Task> subtasks; private Set<Task> subtasks;
@ManyToOne @ManyToOne