File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes Transaction Manager Usage in Spring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Transaction Manager Usage in Spring " Watch "Transaction Manager Usage in Spring " New topic
Author

Transaction Manager Usage in Spring

Vaibhav G Garg
Ranch Hand

Joined: Sep 23, 2011
Posts: 140
Hi,

I am new to Spring and trying to use Transaction Management in my application. I have seen some examples over internet where transactions have been defined using AOP and DataSourceTransactionManager is used for transaction management. The methods have been defined in the advice on which transactions can be applied. So, my query is do I need to do something on my own in my Java code for transaction management or this class will take care of this?

Thanks,
Vaibhav Garg
Krishna Srinivasan
Ranch Hand

Joined: Jul 28, 2003
Posts: 1844

This article must be good enough to understand:
http://www.javabeat.net/2010/08/transaction-management-in-spring-framework/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Transaction Manager Usage in Spring
 
Similar Threads
Spring transaction management with listeners
Rollback not working with @Transactional
What happens if I do my reads outside a transaction?
Hibernate and XA datasource
default transaction manager