This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Spring and the fly likes Transaction is not rolling back in case of exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Transaction is not rolling back in case of exception" Watch "Transaction is not rolling back in case of exception" New topic
Author

Transaction is not rolling back in case of exception

Saurabh Pillai
Ranch Hand

Joined: Sep 12, 2008
Posts: 523
I think transaction is not kicking in atall. I can provide other files if required.

On console it inserts the data and throws the exception but no rollback.

Boot.java


context.xml


FooServiceImpl.xml



Cross Post : http://forum.springsource.org/showthread.php?p=344157#post344157
Saurabh Pillai
Ranch Hand

Joined: Sep 12, 2008
Posts: 523
I got the solution. Please refer the cross post link.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Transaction is not rolling back in case of exception
 
It's not a secret anymore!