-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Transaction rollback not occurring
PostPosted: Mon Nov 10, 2014 2:50 am 
Newbie

Joined: Mon Nov 10, 2014 2:42 am
Posts: 1
Hi All,

I have a code in which i have used spring transaction @Transactional with Hibernate. I have to write DB Down scenarios with it. The problem is : If I shutdown the Database, the code gets stuck at save() method of hibernate template infinitely, even after specifying transaction timeout. Now I after I put the Database up again, the timeout error is thrown. I want the timeout exception to be thrown after timeout occurs. This is not happenning in my case.

Please help.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.