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

Spring jdbc의 관계매핑을 사용하여 리팩토링 #68

Merged
merged 6 commits into from
Apr 29, 2021

Conversation

eNoLJ
Copy link
Collaborator

@eNoLJ eNoLJ commented Apr 29, 2021

No description provided.

Image, DetailImage, DishBadge 엔티티에 대해 oneToMany 관계 설정, 관련 메소드 생성
Dish 클래스에서 oneToMany 관계가 설정 되었기 때문에 dishId 멤버변수가 불필요해져 삭제
Dish 클래스에 oneToMany 매핑 설정이 되었기 때문에 불필요한 매개변수 삭제
기존에 repository를 사용하여 값을 조회하던 방식에서 oneToMany 매핑을 통해 조회하도록 변경, 관련 메소드 수정 및 생성
@eNoLJ eNoLJ merged commit 33dd601 into dev-be Apr 29, 2021
@eNoLJ eNoLJ deleted the be/feature/refactor branch April 29, 2021 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant