[spring] @Cacheable not working? @Transactional not working? -> 같은 bean의 메소드를 호출한 것은 아닐까?
스프링의 @Cacheable과 @Transactional은 spring AOP를 기반으로 동작하기 때문에 같은 Bean내에서는 동작하지 않는다!! 은근 개발하다보면 놓치게 되는 부분ㅠ 왜 안되는거지 하고... stackoverflow 참조(링크) The aspect is applied to a proxy surrounding the bean. Note that everytime you get a reference to a bean, it's not actually the class referenced in your config, but a synthetic class implementing the relevant interfaces, delegating to the actual class and addi..
📖✏️✏️✏️📝/spring
2022. 4. 23. 21:04
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Kubernetes
- kotlin In Action
- 클린코드
- ImagePullBackOff
- 자바
- back merge
- gradle
- 스프링부트
- java
- gasmask
- 스프링
- 도커
- clean code
- 자바스크립트
- JavaScript
- 쿠버네티스
- docker
- Spring
- QuickTimePlayer
- springboot
- k8s
- kotlin
- docker pull limit
- docker for mac
- linuxkit
- ddd
- 도메인주도설계
- IntelliJ
- cacheable
- 코틀린
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함