IntelliJ Java IDE
The moose likes Other Application Frameworks and the fly likes Transaction Management in Spring Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Other Application Frameworks
Reply Bookmark "Transaction Management in Spring" Watch "Transaction Management in Spring" New topic
Author

Transaction Management in Spring

Swetha Mohan
Greenhorn

Joined: Dec 23, 2005
Posts: 15
Hello friends

I am very new to the spring frame work
I am studying Transaction Management
I am now reading values from a database using jdbc Template and also inserting values.
Now I wanna setup a rollback fuction using Transaction Management
I tried the methods followed in the text books but the values are not getting rolled back even if the exception is triggered!!!

can anyone expalin me with a sample example
I searched the internet but in vein..

Please help

Thanks in advance

Swetha
Swetha Mohan
Greenhorn

Joined: Dec 23, 2005
Posts: 15
I am using TransactionProxyFactoryBean
Christophe Verré
Marshal

Joined: Nov 24, 2005
Posts: 14361

You may read:
Spring Reference 2.0 - Transaction Management

I'm reading Spring In Action, and the part on transactions is good to understand the basics. Recommended.


[SCBCD Wall of Fame] [My Blog]
All roads lead to JavaRanch
Help Japan. Make a donation.
 
IntelliJ Java IDE
 
subject: Transaction Management in Spring
 
Threads others viewed
transaction management in spring
transaction management
hibernate with Container Managed Transactions (CMT)
hibernate in Spring framework
session.connection() is depricated . How to setAutoCommit(false) ?
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture