fix: 카테고리 순서 변경 시 flush 추가로 유니크 제약 충돌 해결#78
Merged
Conversation
|
Caution Review failedThe pull request is closed. Walkthrough카테고리 순서 업데이트 메서드에서 기존 사용자 주문을 삭제한 후 새로운 주문 항목을 삽입하기 전에 Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~7 minutes 💡 검토 포인트좋은 점:
확인 필요 사항:
✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
📍 PR 타입 (하나 이상 선택)
❗️ 관련 이슈 링크
📌 개요
카테고리 순서 변경 API 두 번째 요청 시 500 에러 발생하는 버그 수정
🔁 변경 사항
카테고리 순서 변경 시 기존 데이터 삭제 후 flush() 추가
JPA 쿼리 실행 순서 문제로 인한 유니크 제약 충돌 해결
📸 스크린샷
👀 기타 더 이야기해볼 점
✅ 체크 리스트
Summary by CodeRabbit