Skip to content

Commit

Permalink
patch a code snippet on transaction API
Browse files Browse the repository at this point in the history
(cherry picked from commit 6c9aee9)
  • Loading branch information
pablo gonzalez granados authored and gsmet committed Mar 2, 2023
1 parent efb3d5b commit 9aa3c2d
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 9aa3c2d

Please sign in to comment.