此内容没有您所选择的语言版本。
4.11. Transaction Statements
In situations where direct use of the JDBC connection is not possible, transaction statements can be used to control a local transaction.
- START TRANSACTION
- START TRANSACTION is a synonym for
connection.setAutoCommit(false) - COMMIT
- COMMIT is a synonym for
connection.setAutoCommit(true) - ROLLBACK
- ROLLBACK is a synonym for
connection.rollback()and returning to auto commit mode.