-
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
[BSVR-56] QueryDSL 설정 추가 #13
Conversation
@Configuration | ||
public class QueryDslConfig { | ||
|
||
@PersistenceContext private EntityManager entityManager; |
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.
�EntityManager를 Spring에서 주입받아 사용하기 위해 @PersistenceContext를 이용한 코드
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.
수고하셨습니다!
|
||
@Override | ||
public Member save(Member member) { | ||
val memberEntity = memberJpaRepository.save(MemberEntity.from(member)); | ||
return memberEntity.toDomain(); | ||
} | ||
|
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.
LGTM!
📌 개요 (필수)
🔨 작업 사항 (필수)
🌱 연관 내용 (선택)
💻 실행 화면
p6spy도 잘 동작하는 것 확인 완료!