Skip to content

Commit

Permalink
fix : update로 인해 transactional 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
lsh1215 committed Feb 22, 2025
1 parent ddbaf7e commit efcc7bf
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Slice;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;


@Service
Expand All @@ -27,6 +28,7 @@ public Resume saveResume(Resume resume) {
}

// 이력서 개별 조회
@Transactional
public Resume getResume(Long resumeId) {
Resume resume = resumeRepository.findById(resumeId)
.orElseThrow(ResumeNotFoundException::new);
Expand Down

0 comments on commit efcc7bf

Please sign in to comment.