aspose file tools*
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
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: 509
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: 509
I got the solution. Please refer the cross post link.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Transaction is not rolling back in case of exception