-->
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.  [ 2 posts ] 
Author Message
 Post subject: How the transactions are handled in hibernate
PostPosted: Mon Dec 26, 2005 3:16 am 
Newbie

Joined: Mon Dec 26, 2005 3:03 am
Posts: 1
Hi All
I am new to Hibernate. its really fundo.
I need to know one thing:
If i insert few rows in say 3 tables and sent a message to my JMS server with in the code block of
Code:
tx.beginTransaction-tx.commit
.
if the JMS fails will hibernate rollback the inserted rows?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 26, 2005 3:28 am 
Expert
Expert

Joined: Thu May 26, 2005 9:19 am
Posts: 262
Location: Oak Creek, WI
Hi,

Check the below link,

http://www.hibernate.org/hib_docs/v3/re ... ansactions

_________________
RamnathN
Senior Software Engineer
http://www.linkedin.com/in/ramnathn
Don't forget to rate.


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

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.