File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Transaction Management in SpringDAO
 
Similar Threads
Serializable Isolation level for Stateless Session Bean Method
Problem In EJB Transaction Management
two transactions under the same XA cordinator to the same resource
Doubt on the level of lock and concurency
Qns about Finder in EJB2.0