feat: 가상화 문서들 추가
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
# EAGER 2차 조회는 반환 전에, LAZY highlights 조회는 매핑 접근 뒤에 실행된다
|
||||
# Question: 루트 피드 조회부터 EAGER ToOne과 LAZY highlights 조회까지 SQL은 어떤 순서로 발생하는가?
|
||||
direction: right
|
||||
n0: "loadFeed DTO 매핑" {
|
||||
shape: rectangle
|
||||
}
|
||||
n1: "Hibernate" {
|
||||
shape: rectangle
|
||||
}
|
||||
n2: "PostgreSQL" {
|
||||
shape: rectangle
|
||||
}
|
||||
n0 -> n1: "findAllBy(...)"
|
||||
n1 -> n2: "SELECT feed_items"
|
||||
n1 -> n2: "SELECT user / page · EAGER 2차"
|
||||
n1 -> n0: "EAGER 연관이 채워진 FeedItem 반환"
|
||||
n0 -> n1: "매핑 중 getHighlights() 접근"
|
||||
n1 -> n2: "SELECT highlights · LAZY 초기화"
|
||||
Reference in New Issue
Block a user