Interface TransactionManager
@NonExtendable
public interface TransactionManager
Opens outer transactions. Each thread has its own transaction stack.
-
Method Summary
Modifier and TypeMethodDescription@Nullable TransactionContextcurrent()booleanisOpen()@NotNull Transaction
-
Method Details
-
openOuter
- Throws:
IllegalStateException- if the current thread already has an open transaction; open a nested one from it instead
-
isOpen
boolean isOpen()- Returns:
- whether the current thread has an open transaction
-
current
- Returns:
- the current thread's innermost open transaction, or
null
-