Basically, the database operations should normally run in a transactional context. So you need to explicitly commit the transaction to save or update your data to the database.
You need to explicitly do:
I would suggest that you use declarative transaction management using spring AOP. It is much flexible.
Thanks and Regards,