강의

멘토링

로드맵

Inflearn Community Q&A

museum1140964's profile image
museum1140964

asked

Real-world! Spring Boot and JPA Utilization 1 - Web Application Development

Considerations for Entity Design

ManyToOne 기본 옵션 자체를 LAZY로 바꾸면 안되나요??

Written on

·

321

0

ManyToOne 모듈에 default EAGER로 적힌 부분을 LAZY로 바꾸면 안되나요??? 다른 사람과 함께 협업할 때 문제가 발생할 여지가 있어서 모듈을 바꾸지않고 직접 @ManyToOne(fetch=FetchType.LAZY)로 바꾸는 건가요???

springspring-bootjava웹앱JPA

Answer 2

4

yh님의 프로필 이미지
yh
Instructor

안녕하세요. 김재원님

저도 그러고 싶은데 ㅠㅠ

제가 알기로는 표준 스펙과 외부 라이브러리여서 변경할 수 있는 방법이 없습니다.

혹시 가능한 방법을 알게 되시면 저도 가르쳐주세요!

1

museum1140964님의 프로필 이미지
museum1140964
Questioner

아하 그렇군요 ㅠㅠ 답변 감사합니다. 혹시 알게되면 공유하겠습니다!

museum1140964's profile image
museum1140964

asked

Ask a question