Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 | 31 |
Tags
- oauth2.0
- injellij
- naturalid
- fetch join
- Cannotacquirelockexception
- 프로젝트 이름 변경
- JPA
- OIDC
- awspring
- intellij
- ngrinder
- AWS
- Git
- @Transaction(readOnly=true)
- spring-cloud-starter-aws
- 컨트리뷰터
- redis
- websocket
- 정적 팩터리 메서드
- @RequestMapping
- 이펙티브 자바
- batch insert
- convertAndSendToUser
- @controller
- Commit
- spring
- N + 1
- mockito
- MySQLTransactionRollbackException
- assert
Archives
- Today
- Total
목록@controller (1)
정리정리
최근에 인프런의 스프링 강의 예제를 스프링 부트 3.1로 따라 치다가 겪은 문제점과 알게 된 점이 있어 정리해 보고자 글을 작성합니다. 문제 상황 우선 문제를 겪은 예제 코드는 다음과 같았습니다. @RequestMapping @ResponseBody public interface OrderControllerV1 { @GetMapping("/v1/request") String request(@RequestParam("itemId") String itemId); } public class OrderControllerV1Impl implements OrderControllerV1 { @Override public String request(String itemId) { return "ok"; } } AOP를 ..
Spring
2023. 11. 16. 19:51