-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: 케이크 샵 상세 정보 조회 구현 #46
Conversation
Test Results39 tests 38 ✅ 3s ⏱️ Results for commit 86cfdcc. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다
public CakeShopInfoParam searchInfoById(Long cakeShopId) { | ||
List<CakeShopInfoParam> results = queryFactory | ||
.selectFrom(cakeShop) | ||
.innerJoin(cakeShopOperation) | ||
.on(cakeShop.eq(cakeShopOperation.cakeShop)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
올려주신 쿼리에서는 일반 join으로 나가던데 cakeShopOperation 모두 영속성 컨텍스트로 올라오냐요??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mysql 기준으로 inner join과 join은 같은 join이고, 영속성 컨텍스트에 올라가는지 확인하진 않았으나, read 연산이 잘되었다면 read 후 올라가는걸로 알고 있습니다 !
#41
케이크 샵 상세 정보 조회 API를 개발했습니다. 특별한 로직 없이 조인하여 쿼리해왔습습니다.