트렌젝션(Transaction): 여러 개 쿼리에 commit/rollback을 하나의 단위로 처리
1) pom.xml 설정

2) root-context 설정


3) 테스트 하기

DB 어디서 오류 나는지 확인하는 법
1. xml, properites 파일 생성

1) xml

2) properties

2. pom.xml 설정

3. root-context 설정

'배운 내용 정리 > SPRING' 카테고리의 다른 글
| @ModelAttribute (0) | 2020.06.10 |
|---|---|
| properties 파일값 불러와서 활용하기 (0) | 2020.06.04 |
| Mapper.xml에서 <, > 기호 사용하기 (CDATA 활용) (0) | 2020.05.22 |
| 파라미터에 default 값 설정하기 (0) | 2020.04.02 |
| [학습정리] SPRING - service 설정하기 (0) | 2020.03.18 |