DenisPolo commented on code in PR #12156: URL: https://github.com/apache/ignite/pull/12156#discussion_r2165834193
########## docs/_docs/key-value-api/transactions.adoc: ########## @@ -85,6 +85,11 @@ include::code-snippets/cpp/src/transactions.cpp[tag=transactions-execution,inden -- +[WARNING] +==== +When using the `try-catch-finally` construct, make sure to call the `close()` method for correct transaction closure, or use the `try-with-resources` block as shown in the example above. Review Comment: Good idea, done. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org