From 14aeaeb17c5f2ef10f6e5e89599232fa79bef0bb Mon Sep 17 00:00:00 2001 From: youngdon Date: Thu, 29 Feb 2024 15:15:11 +0900 Subject: [PATCH] =?UTF-8?q?[FIX]=20userMatch=20entity=20=EC=97=B0=EA=B4=80?= =?UTF-8?q?=EA=B4=80=EA=B3=84=20=EC=84=A4=EC=A0=95=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/wooyeon/yeon/profileChoice/domain/UserMatch.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/wooyeon/yeon/profileChoice/domain/UserMatch.java b/src/main/java/com/wooyeon/yeon/profileChoice/domain/UserMatch.java index b3b5595..5c78e26 100644 --- a/src/main/java/com/wooyeon/yeon/profileChoice/domain/UserMatch.java +++ b/src/main/java/com/wooyeon/yeon/profileChoice/domain/UserMatch.java @@ -22,11 +22,11 @@ public class UserMatch { @GeneratedValue private Long matchId; - @OneToOne(fetch = FetchType.LAZY) + @OneToOne(fetch = FetchType.EAGER) @JoinColumn(name = "user_id1") private User user1; - @OneToOne(fetch = FetchType.LAZY) + @OneToOne(fetch = FetchType.EAGER) @JoinColumn(name = "user_id2") private User user2;