This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
This is Radhika, Please provide guide lines how to do transaction management in spring.
Please consider the senario,
From pojo calling two different dao methods.
First calling dao1 method to insert row in DB.
next calling dao2 method to update row in DB if dao1 method returns successfull insertion.
while doing update, if gets any exception how can i rollback inserted row through dao1 method.