Skip to content

Commit 2570826

Browse files
authored
Merge pull request #31507 from pjgg/Doc/transaction-API
Adjust API in transaction.adoc code snippet
2 parents 9e663bc + 6c9aee9 commit 2570826

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/main/asciidoc/transaction.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public class TransactionExample {
189189
if (throwable instanceof SomeException) {
190190
return RunOptions.ExceptionResult.COMMIT;
191191
}
192-
return RunOptions.ExceptionResult.ROLLBACK;
192+
return TransactionExceptionResult.ROLLBACK;
193193
})
194194
.call(() -> {
195195
//do work

0 commit comments

Comments
 (0)