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 8342d1ef2c - Show all commits

View File

@ -33,7 +33,7 @@ public class Taskgroup {
private Taskgroup parent; private Taskgroup parent;
@OneToMany(mappedBy = "taskgroup", cascade = CascadeType.ALL, fetch = FetchType.EAGER, orphanRemoval = true) @OneToMany(mappedBy = "taskgroup", cascade = CascadeType.REMOVE, fetch = FetchType.EAGER, orphanRemoval = true)
private Set<Task> tasks; private Set<Task> tasks;
public Taskgroup(String taskgroupName, User user) { public Taskgroup(String taskgroupName, User user) {