♻️ refactor: transactional 메서드별 관리로 수정 #80
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.
📌 PR 개요
🔍 변경 사항
@transactional 어노테이션 임포트 통일 : Jakarta EE 임포트를 Spring Framework 임포트로 변경
MatchService: 클래스 레벨 @transactional 제거 후 메서드별 적용
MatchParticipantService: 클래스 레벨 @transactional(readOnly = true) 제거
UserService: 메서드별 트랜잭션 타입 최적화
🧪 테스트 방법
1.경기 목록 조회 API 호출하여 정상 응답 확인
2.경기 생성, 참여 신청, 참여 취소, 삭제 기능 정상 동작 확인
3.내 참여 경기 조회 기능 정상 동작 확인
4.사용자 조회 및 생성/업데이트 기능 정상 동작 확인
✅ 체크리스트
📎 참고 이슈
Ref: #79