File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Object Relational Mapping and the fly likes Rollback not working in hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Rollback not working in hibernate" Watch "Rollback not working in hibernate" New topic
Author

Rollback not working in hibernate

Booma Devi
Ranch Hand

Joined: Nov 02, 2011
Posts: 61
Hi,
I am using spring with hibernate transaction management for testing the rollback behaviour. I have implemented the code like below.. But its not rollbacked. Can you please help to solve this problem?


hibernate.cfg.xml
============




AccountDaoImpl.java

Booma Devi
Ranch Hand

Joined: Nov 02, 2011
Posts: 61
Problem solved..
 
Don't get me started about those stupid light bulbs.
 
subject: Rollback not working in hibernate