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.