반응형

MANDATORY

Support a current transaction, throw an exception if none exists.

시작된 트랜잭션이 있으면 support, 없으면 예외 발생


NESTED

Execute within a nested transaction if a current transaction exists, behave like PROPAGATION_REQUIRED else.

시작된 트랜잭션이 있으면 중첩해서 트랜잭션을 실행한다. 


NEVER

Execute non-transactionally, throw an exception if a transaction exists.

트랜잭션이 있으면 예외 발생


NOT_SUPPORTED

Execute non-transactionally, suspend the current transaction if one exists.

시작된 트랜잭션이 있으면 보류한 후 트랜잭션 없이 진행한다.


REQUIRED

Support a current transaction, create a new one if none exists.

시작된 트랜잭션이 있으면 support, 없으면 새로운 트랜잭션을 생성한다.


REQUIRES_NEW

Create a new transaction, and suspend the current transaction if one exists.

이미 시작된 트랜잭션이 있으면 보류하고 새로운 트랜잭션을 생성해서 시작한다.


SUPPORTS

Support a current transaction, execute non-transactionally if none exists.

시작된 트랜잭션이 있으면 support, 없으면 없이 진행한다. 

728x90
반응형

'Development > Java' 카테고리의 다른 글

[SpringCloud]Spring Config..  (0) 2016.01.26
spring Cache  (0) 2015.12.05
[JPA]Persistence Context  (0) 2015.08.25
[JPA]Entity 생명주기  (0) 2015.08.12
Mybatis 동적쿼리 사용시 NuberFormatException:For input String 해결방법  (0) 2014.10.30

+ Recent posts