-->
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: lazily initialized collections question
PostPosted: Fri Dec 19, 2003 5:45 pm 
Beginner
Beginner

Joined: Fri Oct 24, 2003 10:45 am
Posts: 22
Hi all,

Is it possible in a single Session to force Hibernate to reload lazily initialized collection upon next attempt to access its elements if it was already loaded (the reason is that I may receive a message that data have changed)? It is not absolutely necessary but would be nice to have!

Thanks in advance!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 21, 2003 1:15 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
Well, you can refresh() the owner...


...for now, I'm not sold on the concept of Hibernate.uninitialize()


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.