-->
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: full eager loading
PostPosted: Fri Feb 23, 2007 5:53 am 
Newbie

Joined: Fri Feb 23, 2007 5:23 am
Posts: 1
Hibernate version: 3.1

Name and version of the database you are using: ORACLE 9i


Hi folks, I’d need your advice regarding this problem: I have a quite deep object tree, that is normally lazy loaded. What I’d like to do is reload from the DB the complete object tree (eager fetch mode for all the collections) without changing the mapping. I tried criteria Api but I need to specify the fetching strategy for each collection. In other words, I haven’t found a way to tell hibernate to explore recursively all the object tree and load all the collections eagerly.
Is there a way to do it in a simple way?


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.