aspose file tools*
The moose likes BEA/Weblogic and the fly likes Transaction Management in SpringDAO Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Transaction Management in SpringDAO" Watch "Transaction Management in SpringDAO" New topic
Author

Transaction Management in SpringDAO

radhika chennu
Greenhorn

Joined: Dec 26, 2006
Posts: 3
Hi,

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.

Please helpme in this.

Regards,
Radhika
 
 
subject: Transaction Management in SpringDAO