Changed the way to commit and rollback.
After calling execute method, commit is called.
Before calling rollback method, the existence of Transactional
annotation is checked.