Skip to content

Commit

Permalink
[#12048] Remove feedbackSession attributes @fetch annotation (#12992)
Browse files Browse the repository at this point in the history
* Remove feedbackSession @fetch annotation
  • Loading branch information
NicolasCwy committed Apr 9, 2024
1 parent db0fd94 commit 6c420fa
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
import java.util.UUID;

import org.apache.commons.lang.StringUtils;
import org.hibernate.annotations.Fetch;
import org.hibernate.annotations.FetchMode;
import org.hibernate.annotations.OnDelete;
import org.hibernate.annotations.OnDeleteAction;
import org.hibernate.annotations.UpdateTimestamp;
Expand Down Expand Up @@ -92,12 +90,10 @@ public class FeedbackSession extends BaseEntity {
private boolean isPublishedEmailSent;

@OneToMany(mappedBy = "feedbackSession", cascade = CascadeType.REMOVE)
@Fetch(FetchMode.JOIN)
@OnDelete(action = OnDeleteAction.CASCADE)
private List<DeadlineExtension> deadlineExtensions = new ArrayList<>();

@OneToMany(mappedBy = "feedbackSession", cascade = CascadeType.REMOVE)
@Fetch(FetchMode.JOIN)
@OnDelete(action = OnDeleteAction.CASCADE)
private List<FeedbackQuestion> feedbackQuestions = new ArrayList<>();

Expand Down

0 comments on commit 6c420fa

Please sign in to comment.