my dog learned polymorphism
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

Transaction Management in SpringDAO

radhika chennu

Joined: Dec 26, 2006
Posts: 3

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.

I agree. Here's the link:
subject: Transaction Management in SpringDAO
It's not a secret anymore!