This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: 524
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: 524
I got the solution. Please refer the cross post link.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Transaction is not rolling back in case of exception
 
It's not a secret anymore!