issue-113: Fix all Delete Operations #114
@ -25,7 +25,7 @@ public class Taskgroup {
|
||||
@JoinColumn(name = "taskgroupuser", nullable = false)
|
||||
private User user;
|
||||
|
||||
@OneToMany(mappedBy = "parent", cascade = CascadeType.ALL, fetch = FetchType.EAGER, orphanRemoval = true)
|
||||
@OneToMany(mappedBy = "parent", cascade = CascadeType.REMOVE, fetch = FetchType.EAGER, orphanRemoval = true)
|
||||
private Set<Taskgroup> children;
|
||||
|
||||
@ManyToOne
|
||||
|
Loading…
Reference in New Issue
Block a user