This week's book giveaway is in the OCAJP forum. We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line! See this thread 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.