Package org.hibernate.reactive.mutiny
Interface Mutiny.Transaction
-
- Enclosing interface:
- Mutiny
public static interface Mutiny.Transaction
Allows code withinMutiny.Session.withTransaction(Function)
to mark a transaction for rollback. A transaction marked for rollback will never be committed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isMarkedForRollback()
Is the current transaction marked for rollback.void
markForRollback()
Mark the current transaction for rollback.
-