distinct (1) 썸네일형 리스트형 N+1과 fetch join github 전체코드 주소(branch: fetch) Club.java package hellojpa; import lombok.Data; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.OneToMany; import java.util.ArrayList; import java.util.List; @Data @Entity public class Club { @Id @GeneratedValue private Long id; private String name; @OneToMany(mappedBy = "club") private .. 이전 1 다음