Skip to content

Commit 6c9aee9

Browse files
author
pablo gonzalez granados
committed
patch a code snippet on transaction API
1 parent fe7b6a2 commit 6c9aee9

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)