diff --git a/backend/techpick-api/src/main/java/techpick/api/domain/pick/service/PickService.java b/backend/techpick-api/src/main/java/techpick/api/domain/pick/service/PickService.java index 4103223a6..0587c50d1 100644 --- a/backend/techpick-api/src/main/java/techpick/api/domain/pick/service/PickService.java +++ b/backend/techpick-api/src/main/java/techpick/api/domain/pick/service/PickService.java @@ -9,6 +9,7 @@ import org.apache.commons.lang3.ObjectUtils; import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Isolation; import org.springframework.transaction.annotation.Transactional; import lombok.RequiredArgsConstructor; @@ -82,7 +83,7 @@ public List getFolderChildPickList(Long userId, Long folderId) } // 폴더 리스트가 넘어오면, 각 폴더 내부에 있는 픽 리스트 조회 - @Transactional(readOnly = true) + @Transactional(isolation = Isolation.READ_UNCOMMITTED, readOnly = true) public List getFolderListChildPickList(PickCommand.ReadList command) { return command.folderIdList().stream() .peek(folderId -> validateFolderAccess(command.userId(), folderId)) // 폴더 접근 유효성 검사