-->
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: Hibernate Session-cache and garbage collection
PostPosted: Tue Jul 11, 2006 9:47 am 
Newbie

Joined: Wed May 24, 2006 7:28 am
Posts: 4
Hibernate version:3.x

Hi folks,

We have a question concerning the Hibernate session-cache in conjunction with garbage collection: After an object is loaded by a session, it is automatically stored in the session-cache. If the application holds no more references to that object, can the cache be garbage collected? That would imply that the cache uses internally weak-references. If not so, we might run into a memory problem, because our session is long-living due to application constraints (GUI).

For any information we are very grateful!

Greetings,

Sandro & Markus


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.