user_user_id

ims·2020년 9월 27일

ERROR !!!

목록 보기
5/16

위와 같이 db schema를 짜면 JPA 에서 OneToMany / ManyToOne 관계에서 다른 table을 참조할 때 user_idx를 불러오려면 user_user_idx 같은 식으로 불러와야 한다. 그래서 그냥 user_idx가 아니라 그냥 id로 하는게 좋은듯

profile
티스토리로 이사했습니다! https://imsfromseoul.tistory.com/ + https://camel-man-ims.tistory.com/

0개의 댓글