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,
Morning came much too soon and it brought along a friend named Margarita Hangover, and a tiny ad.