Skip to content

Commit

Permalink
Revert "allow hibernate to cascade/orphan-remove entity relation"
Browse files Browse the repository at this point in the history
This reverts commit c381e6a.
  • Loading branch information
andrewazores committed Jan 9, 2024
1 parent 7e9cdb1 commit d596144
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/io/cryostat/recordings/ActiveRecording.java
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ public void postUpdate(ActiveRecording activeRecording) {
@Blocking
public void preRemove(ActiveRecording activeRecording) throws Exception {
try {
activeRecording.target.activeRecordings.remove(activeRecording);
connectionManager.executeConnectedTask(
activeRecording.target,
conn -> {
Expand Down

0 comments on commit d596144

Please sign in to comment.