문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 마지막 판 양쪽 다음 판 | ||
springframework:transaction [2021/09/30 16:03] kwon37xi |
springframework:transaction [2022/05/13 12:50] kwon37xi [Transaction 정보 처리] |
||
---|---|---|---|
줄 31: | 줄 31: | ||
Oracle JDBC 드라이버는 Read-Only 트랜잭션을 지원하며, | Oracle JDBC 드라이버는 Read-Only 트랜잭션을 지원하며, | ||
- | Spring-Hibernate 연동시에는 Session의 Flush Mode를 '' | + | Spring-Hibernate 연동시에는 Session의 Flush Mode를 '' |
줄 45: | 줄 45: | ||
===== Transaction 정보 처리 ===== | ===== Transaction 정보 처리 ===== | ||
* [[http:// | * [[http:// | ||
- | * [[http:// | + | * [[http:// |
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
줄 112: | 줄 112: | ||
* '' | * '' | ||
- | ===== TransactionTemplate ===== | + | ===== Programatic Transaction Managemen - TransactionTemplate ===== |
* Progmatic transaction demarcation. | * Progmatic transaction demarcation. | ||
+ | * API와 DB 호출이 한 트랜잭션으로 엮이거나 하면 커넥션 점유 시간이 증가하면서 커넥션 부족에 시달릴 수 있다. | ||
+ | * 또한 하나의 Bean 에서 트랜잭션이 없는 메소드가 트랜잭션이 있는 메소드를 호출 할 경우 작동하지 않는다. | ||
+ | * 이를 '' | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
* [[http:// | * [[http:// | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
- | * [[https:// | ||
* [[http:// | * [[http:// | ||
* '' | * '' | ||
+ | * [[https:// | ||
===== 참여 중인 트랜잭션이 실패하면 기본정책이 전역롤백 ===== | ===== 참여 중인 트랜잭션이 실패하면 기본정책이 전역롤백 ===== |