-->
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 to uninitialize already loaded lazy collection
PostPosted: Fri Nov 21, 2008 10:17 am 
Newbie

Joined: Fri Nov 21, 2008 8:26 am
Posts: 2
Is there any way to uninitialize back already loaded lazy collection, so that the next call to this collection would cause the loading data from the DB again. It would be useful to free memory occupied by a large collection that is no longer needed in long-running sessions, but the parent object is still need for conversation. E.g. top-level objects in the tree component are needed for the whole duration of the conversation, but children elements could be lazy loaded when a node is expanded and unloaded when collapsed.


Top
 Profile  
 
 Post subject: Re: How to uninitialize already loaded lazy collection
PostPosted: Mon Nov 24, 2008 7:55 am 
Newbie

Joined: Fri Nov 21, 2008 8:26 am
Posts: 2
Any thoughts? All advices on how to unload lazily loaded entities will be appreciated.
Thanks in advance Alexey.


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.