Skip to main content
Version: Next

TransactionPropagation

Controls how a transactional operation interacts with an existing transaction.

Index

Enumeration Members

MANDATORY

MANDATORY: mandatory

Join the current transaction; throw if no transaction is active.

NESTED

NESTED: nested

Create a nested savepoint within the current transaction, or a new transaction if none exists.

NEVER

NEVER: never

Execute non-transactionally; throw if a transaction is active.

NOT_SUPPORTED

NOT_SUPPORTED: not_supported

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

REQUIRED

REQUIRED: required

Join the current transaction or create a new one if none exists.

REQUIRES_NEW

REQUIRES_NEW: requires_new

Always create a new transaction, suspending the current one if it exists.

SUPPORTS

SUPPORTS: supports

Join the current transaction if one exists, otherwise execute non-transactionally.