-->
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: Proxy initialization
PostPosted: Fri Jul 16, 2004 2:48 pm 
Newbie

Joined: Fri Sep 26, 2003 4:29 pm
Posts: 16
Hi,

I have a question regarding the initalization of collections and associtation marked as lazy and proxied.

Say I have an object with two collections that I need to initalize. I can load one using eager loading with the initial object load, and then call Hibernate.initialize on the other collection. However, if the objects in the second collection have proxied associations, is there a way to eagerly load these proxies while initializing the second collection, to avoid having to iterate the whole collection and initializing each proxy individually.

thanks in advance.
Jonny


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 27, 2004 12:20 pm 
Beginner
Beginner

Joined: Tue Jan 27, 2004 2:14 pm
Posts: 40
Location: Atlanta, GA, USA
Did you ever find an answer to this question?
Thanks


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.