Skip to content

Commit

Permalink
Merge pull request #31507 from pjgg/Doc/transaction-API
Browse files Browse the repository at this point in the history
Adjust API in transaction.adoc code snippet
  • Loading branch information
gsmet authored Mar 1, 2023
2 parents 9e663bc + 6c9aee9 commit 2570826
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 2570826

Please sign in to comment.