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 |
Tags
- 생성자
- 구간합
- function test
- 2차원배열 구간합
- 마리아DB 쿼리 로그
- 상속과 참조
- Java
- this
- 합배열
- 백준 11659번
- InterruptException
- 구간합구하기
- @NoArgsConstructor
- 슈더코드
- 백준 11660번
- map()
- Bean LifecCycle
- @AllArgsConstructor
- ajax
- interrupted()
- json
- MariaDB Query Log
- 자바 람다식
- SQL
- 백준 1235번
- 백준
- jquery
- this와 this() 차이
- select
- pseudo-code
Archives
- Today
- Total
목록Bean LifecCycle (1)
평범한 연구소
static과 Been, @Transactional에 대해
스프링 컨테이너 참고 https://jeongsoyeon.tistory.com/100 AOP 참고 https://catsbi.oopy.io/fb62f86a-44d2-48e7-bb9d-8b937577c86c 정적 메서드와 트랜잭션 기능 관련 참고 https://stackoverflow.com/questions/23569732/transactional-with-static-method 최근에 알게된 지식이 있었는데, 의존성 주입에 관련한 버그에 관한 내용이었다. 의존성 주입을 @Component 어노테이션으로 관리했고, 해당 클래스에서 필드를 static으로 정적 필드로 선언했었다. 이 필드에서 NullPointException이 발생하는 문제가 있었다. 원인은 Sprign Container의 Bean Li..
JAVA
2023. 7. 13. 00:02