supports
Support a current transaction, execute non-transactionally if none exists. Analogous to EJB transaction attribute of the same name.
νΈμΆν λ©μλμμ νΈλμμ
μ΄ μμΌλ©΄ νΈλμμ
μ μκ³ , μμΌλ©΄ μλ μ±λ‘ λλλ€.
νΉμ΄μ : νΈμΆν λ©μλμμ νΈλμμ
μ΄ μμμ΄λ μΌλ¨ νΈλμμ
μμ±μ νλ€. νμ§λ§ μ μ©νμ§λ μλλ€!
β exists, but not active!
mandatory
Support a current transaction, throw an exception if none exists
νΈμΆν λ©μλμμ νΈλμμ
μ΄ μμΌλ©΄ IllegalTransactionStateException μμΈλ₯Ό ν°λ¨λ¦°λ€.
not supported
Execute non-transactionally, suspend the current transaction if one exists.
μΌλ¨ μμ±μ νλ€. κ·Έλ°λ° μ°μ§λ μλλ€!
물리μ νΈλμμ
κ³Ό λ
Όλ¦¬μ νΈλμμ
μ μ°¨μ΄μΈ λ― νλ€!
nested
Execute within a nested transaction if a current transaction exists, behave like REQUIRED otherwise.
Note: Actual creation of a nested transaction will only work on specific transaction managers. Out of the box, this only applies to the JDBC DataSourceTransactionManager.
νΉμ ν transaction manager μμλ§ μλνλ€κ³ νλ€.
νΈμΆν λ©μλμμ νΈλμμ
μ΄ μμΌλ©΄ NestedTransactionNotSupportedException μμΈκ° ν°μ§λ€.
νΈμΆν λ©μλμμ νΈλμμ
μ΄ μμΌλ©΄ μλ‘ μμ±μ νλ€.
mandatory μ λ°λ λλμ΄λ€.
never
| Execute non-transactionally, throw an exception if a transaction exists.
νΈμΆν λ©μλμμ νΈλμμ
μ΄ μμΌλ©΄ IllegalTransactionStateException μμΈλ₯Ό ν°λ¨λ¦°λ€.
νΈμΆν λ©μλμμ νΈλμμ
μ΄ μμΌλ©΄ νΈλμμ
μ μμ±νκΈ°λ νλλ° μ μ©νμ§λ μλλ€.
μ΄ λν 물리μ /λ
Όλ¦¬μ μ μ°¨μ΄μΈ κ² κ°λ€.