Skip to content

Commit

Permalink
feat: Transactional(readonly=true) ์ ์šฉ
Browse files Browse the repository at this point in the history
  • Loading branch information
xxeol2 committed Sep 9, 2023
1 parent c3cc431 commit 002e65f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public SchoolService(SchoolRepository schoolRepository) {
this.schoolRepository = schoolRepository;
}

@Transactional(readOnly = true)
public SchoolsResponse findAll() {
return SchoolsResponse.from(schoolRepository.findAll());
}
Expand Down

0 comments on commit 002e65f

Please sign in to comment.