Skip to content

Commit

Permalink
transaction rollback문제 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
wken5577 committed Sep 20, 2023
1 parent d874ac7 commit 04d8748
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
public class RankFindService {
private final RankRepository rankRepository;

@Transactional(readOnly = true)
public Rank findByUserIdAndSeasonId(Long userId, Long seasonId){
return rankRepository.findByUserIdAndSeasonId(userId, seasonId).orElseThrow(() -> new RankNotFoundException());
}
Expand Down

0 comments on commit 04d8748

Please sign in to comment.