Skip to content
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

[ISSUE] User entity에서 PeerOperation까지 같이 쿼리가 들어오는 문제 #24

Open
perman0519 opened this issue Aug 25, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@perman0519
Copy link
Contributor

Hibernate: select user0_.id as id1_2_, user0_.address as address2_2_, user0_.birthday as birthday3_2_, user0_.certification as certific4_2_, user0_.company as company5_2_, user0_.email as email6_2_, user0_.image_url as image_ur7_2_, user0_.introduce as introduc8_2_, user0_.is_alarm as is_alarm9_2_, user0_.name as name10_2_, user0_.nickname as nicknam11_2_, user0_.password as passwor12_2_, user0_.peer_level as peer_le13_2_, user0_.phone as phone14_2_, user0_.represent_achievement as represe15_2_, user0_.user_id as user_id16_2_ from user user0_ where user0_.email=?

Hibernate: select peeroperat0_.user_id as user_id1_1_0_, peeroperat0_.club_created as club_cre2_1_0_, peeroperat0_.created as created3_1_0_, peeroperat0_.is_club as is_club4_1_0_ from peer_operation peeroperat0_ where peeroperat0_.user_id=?

User 객체 생성시 PeerOperation객체가 지연로딩 되지 않고 한번에 호출되는 문제
OneToOne 양방향일때 LAZY가 작동하지 않는다.
https://1-7171771.tistory.com/143

@perman0519 perman0519 added the bug Something isn't working label Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant