posted 9 years ago
Hi All,
I am using spring declarative transaction by using annotation.
When am forcefully calling the Exception on saveStock() ,,, the rollback is not working .
Here are my code snippet :
In the PersonDAO class
My PersonDao class is somthing like this :
The Stock and Person data are getting saved in the DB.
Here is the output :
Any pointer on this would be appreciable..
Thanks ,
Satya