Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- Spring Boot
- JDBC
- Thymeleaf
- 문서
- IntelliJ
- MySQL
- MSSQL
- Open Source
- 설정
- Python
- Source
- maven
- SpringBoot
- oracle
- JavaScript
- Core Java
- PostgreSQL
- ubuntu
- 오픈소스
- git
- AJAX
- spring
- Eclipse
- myBatis
- error
- STS
- Tomcat
- Exception
- jpa
- Docker
Archives
- Today
- Total
헤르메스 LIFE
[JUnit] @DirtiesContext 사용의 주의점 본문
728x90
@DirtiesContext는 applicationContext 상의 통제를 무시하고 직접소스에서 통제하겠다는 얘기.
해당 클래스 혹은 메서드 호출시만 applicationContext 가 매번 생성
applicationContext 를 매번 생성하니 자원적으로도 느리다.
차라리 applicationContext를 하나 더 만들어 쓰는 것이 좋다.
728x90
'Spring Framework' 카테고리의 다른 글
[Spring] 스프링 restfull 정적파일 (0) | 2012.04.12 |
---|---|
[Spring] DispatcherServlet 란...?? (0) | 2012.04.06 |
[Spring] 오브젝트와 의존관계 그리고 스프링 3 - Whiteship's Epril (0) | 2012.03.17 |
[Spring] 템플릿과 스프링 - Whiteship's Epril (0) | 2012.03.17 |
[Spring] 테스트와 스프링 - Whiteship's Epril (0) | 2012.03.17 |