Change how autoCommit and transaction isolation are reset