From 35746c65772fe9af2580861bef583794e7b01d4c Mon Sep 17 00:00:00 2001 From: NARUBROWN Date: Fri, 29 Nov 2024 13:30:29 +0900 Subject: [PATCH] =?UTF-8?q?[Fix]=20=EB=AA=A8=EB=93=A0=20Quiz=20=EC=A0=95?= =?UTF-8?q?=EB=B3=B4=EB=A5=BC=20=EA=B0=80=EC=A0=B8=EC=98=A4=EB=8A=94=20?= =?UTF-8?q?=EB=A9=94=EC=84=9C=EB=93=9C=EC=9D=98=20N+1=20=EB=AC=B8=EC=A0=9C?= =?UTF-8?q?=EB=A5=BC=20=EC=B5=9C=EC=A0=81=ED=99=94=ED=96=88=EC=8A=B5?= =?UTF-8?q?=EB=8B=88=EB=8B=A4.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/codingland/domain/quiz/entity/Quiz.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/domain/src/main/java/com/codingland/domain/quiz/entity/Quiz.java b/domain/src/main/java/com/codingland/domain/quiz/entity/Quiz.java index 02b618e..707c7b7 100644 --- a/domain/src/main/java/com/codingland/domain/quiz/entity/Quiz.java +++ b/domain/src/main/java/com/codingland/domain/quiz/entity/Quiz.java @@ -24,9 +24,11 @@ public class Quiz { private String message; private String hint; + @BatchSize(size = 50) @OneToMany(mappedBy = "quiz", cascade = CascadeType.REMOVE) private List questions; + @BatchSize(size = 50) @OneToMany(mappedBy = "quiz", cascade = CascadeType.REMOVE) private List answers;