Search
Duplicate
โ˜•

ManyToOne

fetch type EAGER

โ€ข
JPQL(repository ์˜ ์ฟผ๋ฆฌ ๋ฉ”์„œ๋“œ(findAll, findByName), @Query) ์„ ์ด์šฉํ•˜๋ฉด N+1 ๋ฐœ์ƒ!
โ€ข
findById ๋Š” left outer join ์œผ๋กœ ๊ฐ€์ ธ์˜ด!