diff --git a/src/main/java/LlikelionKNU/KNUfest/domain/booth/service/BoothServiceImpl.java b/src/main/java/LlikelionKNU/KNUfest/domain/booth/service/BoothServiceImpl.java index 7cfc00a..ed1db50 100644 --- a/src/main/java/LlikelionKNU/KNUfest/domain/booth/service/BoothServiceImpl.java +++ b/src/main/java/LlikelionKNU/KNUfest/domain/booth/service/BoothServiceImpl.java @@ -32,7 +32,6 @@ public class BoothServiceImpl implements BoothService{ private final UserService userService; @Override - @Transactional(readOnly = true) public AllBooth getAllbooth(String userHash) { List boothes = boothrepository.findAll(); @@ -76,7 +75,6 @@ public AllBooth getAllbooth(String userHash) { } @Override - @Transactional(readOnly = true) public BoothDetail getBooth(int boothnum, String categori, String userHash) { Optional boothOp = boothrepository.findByBoothnumAndCategori(boothnum, categori); diff --git a/src/main/java/LlikelionKNU/KNUfest/domain/comment/service/CommentServiceImpl.java b/src/main/java/LlikelionKNU/KNUfest/domain/comment/service/CommentServiceImpl.java index b49eaad..b186dd1 100644 --- a/src/main/java/LlikelionKNU/KNUfest/domain/comment/service/CommentServiceImpl.java +++ b/src/main/java/LlikelionKNU/KNUfest/domain/comment/service/CommentServiceImpl.java @@ -30,7 +30,6 @@ public class CommentServiceImpl implements CommentService{ @Override - @Transactional(readOnly = true) public List getCommentPage(int boothNum, String categori, int page, String userHash) { Optional boothOp = boothRepository.findByBoothnumAndCategori(boothNum, categori); @@ -64,7 +63,6 @@ public List getCommentPage(int boothNum, String categori, int page, Str } @Override - @Transactional public Long postComment(int boothNum, String categori, CommentRequest commentRequest, String userHash) { UserEntity user = userService.getUserByHash(userHash); diff --git a/src/main/java/LlikelionKNU/KNUfest/domain/user/service/UserCountServiceImpl.java b/src/main/java/LlikelionKNU/KNUfest/domain/user/service/UserCountServiceImpl.java index 9992a5f..e7790a8 100644 --- a/src/main/java/LlikelionKNU/KNUfest/domain/user/service/UserCountServiceImpl.java +++ b/src/main/java/LlikelionKNU/KNUfest/domain/user/service/UserCountServiceImpl.java @@ -17,7 +17,6 @@ public class UserCountServiceImpl implements UserCountService { private final UserCountRepository userCountRepository; @Override - @Transactional(readOnly = true) public Long getUserCount() { Optional userCountEntity = userCountRepository.findById(1L);