zstan commented on code in PR #13112:
URL: https://github.com/apache/ignite/pull/13112#discussion_r3226668169


##########
docs/_docs/SQL/JDBC/jdbc-driver.adoc:
##########
@@ -555,6 +555,46 @@ In addition to generic DataSource properties, 
`IgniteJdbcThinDataSource` support
 
 Refer to the 
link:{javadoc_base_url}/org/apache/ignite/IgniteJdbcThinDataSource.html[JavaDocs]
 for more details.
 
+== Transaction Savepoints
+
+JDBC Thin Driver supports the standard JDBC savepoint API for explicit 
transactions:
+
+* `Connection.setSavepoint()`
+* `Connection.setSavepoint(String name)`
+* `Connection.rollback(Savepoint savepoint)`
+* `Connection.releaseSavepoint(Savepoint savepoint)`
+
+Savepoints are available for JDBC connections that use the Calcite-based SQL 
engine and explicit `PESSIMISTIC` transactions.
+Disable auto-commit before creating a savepoint.

Review Comment:
   It need to be smth like : 
   If auto-commit is left enabled, JDBC savepoint API calls requiring an 
explicit transaction will fail with an SQLException.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to