Skip to content

Commit c96f29b

Browse files
committed
add temp transactional
1 parent 2a46b07 commit c96f29b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

backend/src/main/java/wooteco/prolog/session/ui/TempFeedbackController.java

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import lombok.AllArgsConstructor;
44
import org.springframework.context.ApplicationEventPublisher;
5+
import org.springframework.transaction.annotation.Transactional;
56
import org.springframework.web.bind.annotation.GetMapping;
67
import org.springframework.web.bind.annotation.RequestMapping;
78
import org.springframework.web.bind.annotation.RequestParam;
@@ -20,6 +21,7 @@ public class TempFeedbackController {
2021

2122
private final ApplicationEventPublisher applicationEventPublisher;
2223

24+
@Transactional
2325
@GetMapping
2426
public void show(
2527
@RequestParam("startId") Long startId,

0 commit comments

Comments
 (0)