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