setAutoCommit
Switches auto-commit, sending nothing that is not needed.
Turning it off sends nothing: the BEGIN goes out ahead of the first statement, so a transaction that never runs one never reaches the server. Turning it back on commits only a transaction that did.