We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb2290a commit 7f9f20dCopy full SHA for 7f9f20d
src/main/java/com/tnt/application/member/MemberService.java
@@ -15,7 +15,6 @@
15
import lombok.RequiredArgsConstructor;
16
17
@Service
18
-@Transactional(readOnly = true)
19
@RequiredArgsConstructor
20
public class MemberService {
21
@@ -25,8 +24,7 @@ public Member getMemberWithMemberId(Long memberId) {
25
24
return memberRepository.findByIdAndDeletedAtIsNull(memberId)
26
.orElseThrow(() -> new NotFoundException(MEMBER_NOT_FOUND));
27
}
28
-
29
- @Transactional(noRollbackFor = NotFoundException.class)
+
30
public Member getMemberWithSocialIdAndSocialType(String socialId, SocialType socialType) {
31
return memberRepository.findBySocialIdAndSocialTypeAndDeletedAtIsNull(socialId, socialType)
32
0 commit comments