[Feature] #8 뉴스레터 조회 및 홈에 필요한 엔티티 설계 #9
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
홈에 필요한 전반적인 엔티티를 설계하였습니다. (단어장, 아카이브)
Issue Number
#8
Extra
User 엔티티와 Archive 엔티티는 단방향으로 설정하였습니다. Archive에서 User로 직접 조회할 필요가 없기 때문입니다.
추가로 Archive에서 가지고 있는 List termIds는 Converter를 통해 데이터베이스에 String 형태로 저장되도록 변경하였습니다.
추가로 LazyInitializationException이 발생함에 따라 @transactional 어노테이션을 활용하였습니다.
PR Type
PR Checklist