3.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.