Package org.hibernate.reactive.stage
Interface Stage.Transaction
- Enclosing interface:
- Stage
public static interface Stage.Transaction
Allows code within
Stage.Session.withTransaction(Function)
to mark a
transaction for rollback. A transaction marked for rollback will
never be committed.-
Method Summary
Modifier and TypeMethodDescriptionboolean
Is the current transaction marked for rollback.void
Mark 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.
-