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: 498
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: 498
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
 
Similar Threads
Challenge ! Hibernate, Spring and the Transactions...
Spring Transaction using AOP in EJB Project
Spring/Hibernate/Jboss/JTA/getCurrentSession()/createQuery is not valid without active transaction
How do I know if transaction is configured successfully?
Spring + JPA + Hibernate and multiple Database connection