-->
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.  [ 5 posts ] 
Author Message
 Post subject: If i dont close hibernate session what will be the impact
PostPosted: Fri Mar 28, 2008 9:06 am 
Newbie

Joined: Fri Mar 28, 2008 8:59 am
Posts: 3
Hi All,


If i dont close hibernate session what will be happen ?
How long the session will open ? what will be the impact to the application ?




Thanks,
Mahendar


Top
 Profile  
 
 Post subject: Re: If i dont close hibernate session what will be the impac
PostPosted: Fri Mar 28, 2008 2:31 pm 
Expert
Expert

Joined: Wed Apr 11, 2007 11:39 am
Posts: 735
Location: Montreal, QC
Where is the app running? What is the transaction management?



Farzad-


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 31, 2008 8:52 am 
Newbie

Joined: Fri Mar 28, 2008 8:59 am
Posts: 3
Application using Spring's HibernateDAOSupport with JTATransaction Manager and running in weblogic9.1.

In each DAO getSession() method of HibernateDAOSupport method is using to get the session, but any where in the application session has not been closed explicitly.

What is impact for the above scenerio?

Thanks for your reply.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 31, 2008 11:43 am 
Expert
Expert

Joined: Wed Apr 11, 2007 11:39 am
Posts: 735
Location: Montreal, QC
You won't need to close a session in a JTA scope.


Farzad-


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 31, 2008 11:57 am 
Newbie

Joined: Fri Mar 28, 2008 8:59 am
Posts: 3
Thanks for giving reply .


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 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.