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

SpaceWallTemporaryService의 delete 메서드를 EntityManager를 활용하여 리팩토링 완료 #202

Merged
merged 1 commit into from
Oct 25, 2023

Conversation

YangSooHyun0
Copy link
Contributor

  • 이전 코드에서는 SpaceWallRepository의 deleteAll 메서드를 활용하려 했으나, SpaceWallRepository가 JpaRepository를 확장하지 않아서 해당 메서드를 사용할 수 없는 문제가 발생. 오류 해결을 위해 EntityManager를 이용한 최적화로 변경.
  • SpaceWallRepository 대신 EntityManager를 사용하여 SpaceWall 엔티티를 일괄적으로 삭제

@YangSooHyun0 YangSooHyun0 added 🐞 Fix 오류 수정 🔨 Refactor 코드 리팩토링 labels Oct 25, 2023
@YangSooHyun0 YangSooHyun0 self-assigned this Oct 25, 2023
@YangSooHyun0 YangSooHyun0 merged commit fd7b788 into refactoring Oct 25, 2023
@YangSooHyun0 YangSooHyun0 deleted the refactor/space-wall-delete-code-fix branch November 1, 2023 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 Fix 오류 수정 🔨 Refactor 코드 리팩토링
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant