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;