added commit()/rollback() and Deprecated stopTransaction().