jQuery in Action, 2nd edition
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
Register / Login


JavaRanch » Java Forums » Frameworks » Spring
Reply 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: 456
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: 456
I got the solution. Please refer the cross post link.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Transaction is not rolling back in case of exception
 
Similar Threads
Spring/Hibernate/Jboss/JTA/getCurrentSession()/createQuery is not valid without active transaction
Challenge ! Hibernate, Spring and the Transactions...
Spring Transaction using AOP in EJB Project
How do I know if transaction is configured successfully?
Spring + JPA + Hibernate and multiple Database connection