Package org.hibernate.reactive.stage
Interface Stage.Transaction
-
- Enclosing interface:
- Stage
public static interface Stage.Transaction
Allows code withinStage.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.
-