File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
src/main/java/com/tnt/application/member Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 15
15
import lombok .RequiredArgsConstructor ;
16
16
17
17
@ Service
18
- @ Transactional (readOnly = true )
19
18
@ RequiredArgsConstructor
20
19
public class MemberService {
21
20
@@ -25,8 +24,7 @@ public Member getMemberWithMemberId(Long memberId) {
25
24
return memberRepository .findByIdAndDeletedAtIsNull (memberId )
26
25
.orElseThrow (() -> new NotFoundException (MEMBER_NOT_FOUND ));
27
26
}
28
-
29
- @ Transactional (noRollbackFor = NotFoundException .class )
27
+
30
28
public Member getMemberWithSocialIdAndSocialType (String socialId , SocialType socialType ) {
31
29
return memberRepository .findBySocialIdAndSocialTypeAndDeletedAtIsNull (socialId , socialType )
32
30
.orElseThrow (() -> new NotFoundException (MEMBER_NOT_FOUND ));
You can’t perform that action at this time.
0 commit comments