Skip to content

Commit

Permalink
patch a code snippet on transaction API
Browse files Browse the repository at this point in the history
  • Loading branch information
pablo gonzalez granados committed Mar 1, 2023
1 parent fe7b6a2 commit 6c9aee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/main/asciidoc/transaction.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public class TransactionExample {
if (throwable instanceof SomeException) {
return RunOptions.ExceptionResult.COMMIT;
}
return RunOptions.ExceptionResult.ROLLBACK;
return TransactionExceptionResult.ROLLBACK;
})
.call(() -> {
//do work
Expand Down

0 comments on commit 6c9aee9

Please sign in to comment.