issue-113: Fix all Delete Operations #114
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user