-->
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: Where can I set session autoClose to false ??
PostPosted: Thu Sep 16, 2004 5:24 pm 
Newbie

Joined: Tue Aug 24, 2004 12:01 pm
Posts: 4
Hello , I 'm using hibernate 2.1.
My problem is that some times the application throws an exception cause by session is closed. After I've debug , I realize that autoClose is set to true..So I think maybe that is the problem. So I wonder where I can set this value to false.
Thanks very much

Chass


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 18, 2004 5:52 pm 
Proxool Developer
Proxool Developer

Joined: Tue Aug 26, 2003 10:42 am
Posts: 373
Location: Belgium
The Hibernate session has an autoClose attribute ?
Do you mean there is a way to tell the session to close itself automatically - by magic, when it feels the need ?

That's the first time I hear such feature...
... could you please be a bit more specific on your problem?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 19, 2004 2:43 pm 
Newbie

Joined: Tue Aug 24, 2004 12:01 pm
Posts: 4
Actually, I 'm not sure if autoClose is an atribute of Session. I run the application step by step, watching the variables.. There is an atribute of sessionImpl called autoClose. which was set to false.
But that doesn't matter cause i discover that that wasn


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 19, 2004 4:11 pm 
Proxool Developer
Proxool Developer

Joined: Tue Aug 26, 2003 10:42 am
Posts: 373
Location: Belgium
So we can consider the issue closed ?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 19, 2004 5:17 pm 
Newbie

Joined: Tue Aug 24, 2004 12:01 pm
Posts: 4
Yes, we can consider issue closed
thnx again


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.