-->
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: Does org.hibernate.Transaction.commit() closes the Session??
PostPosted: Wed Jun 20, 2007 7:07 am 
Newbie

Joined: Mon Jun 27, 2005 4:22 am
Posts: 10
Location: Hyderabad, India
I have a simple question.

Does org.hibernate.Transaction.commit() closes the Session automatically by default????


Please clarify....

Regards,
Amjath Sharief


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 20, 2007 8:10 am 
Regular
Regular

Joined: Mon Mar 26, 2007 12:38 am
Posts: 119
No.
A Transaction commit,
i) doesn't close the session.
ii) flushes the session.
iii) doesn't clear the session.

----------------------------------------------
Rate the reply if you find it helpful


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.