• Post Reply Bookmark Topic Watch Topic
  • New Topic

Transaction Manager Usage in Spring  RSS feed

 
Vaibhav G Garg
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1880
Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This article must be good enough to understand:
http://www.javabeat.net/2010/08/transaction-management-in-spring-framework/
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!