Skip to content

Commit

Permalink
fix : fetch 타입 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
rivkode committed Nov 10, 2023
1 parent 8e32d1b commit afe2cea
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,7 @@ public class Restaurant {
@Column
private Double rating;

@OneToMany(
mappedBy = "restaurant", orphanRemoval = true,
fetch = FetchType.LAZY
)
@OneToMany(mappedBy = "restaurant", orphanRemoval = true)
private List<Review> reviewList = new ArrayList<>();

@Builder
Expand Down

0 comments on commit afe2cea

Please sign in to comment.