Macros that control transaction scope, analagous to JEE transaction attributes
Macros that control transaction scope, analagous to [JEE transaction attributes](https://docs.oracle.com/javaee/7/tutorial/transactions003.htm)
(mandatory & body)
JEE Mandatory - throws an exception unless there's an active transaction in which body will be run
JEE Mandatory - throws an exception unless there's an active transaction in which body will be run
(never & body)
JEE Never - throws an exception if there's an active transaction, otherwise runs body
JEE Never - throws an exception if there's an active transaction, otherwise runs body
(not-supported & body)
JEE NotSupported - suspend current transaction, if any, and run body without a transaction
JEE NotSupported - suspend current transaction, if any, and run body without a transaction
(required & body)
JEE Required - execute within current transaction, if any, otherwise run body in a new one
JEE Required - execute within current transaction, if any, otherwise run body in a new one
(requires-new & body)
JEE RequiresNew - suspend current transaction, if any, and execute body in a new one
JEE RequiresNew - suspend current transaction, if any, and execute body in a new one
(supports & body)
JEE Supports - run body regardless of current transaction state (unpredictable)
JEE Supports - run body regardless of current transaction state (unpredictable)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close