-->
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: Lazy fetch with lazy="false"
PostPosted: Thu May 28, 2009 11:58 am 
Newbie

Joined: Thu Mar 22, 2007 10:39 am
Posts: 14
Hi,

having to modify a critical process, I stumbled upon a POJO having quite alot of children. All of these children are set as 'lazy="false"'.
Now, I'm wondering if it's possible to set some of these children lazy at runtime, so that one of the new queries will not try to load them?

Using Hibernate's DetachedCriteria, I tried several combinations with setting the FetchMode of a collection, but none of them worked. I also tried working with a distinct projection, but then none of the collections would load.

any ideas?

thanks in advance!


Top
 Profile  
 
 Post subject: Re: Lazy fetch with lazy="false"
PostPosted: Tue Jun 02, 2009 10:07 am 
Newbie

Joined: Thu Mar 22, 2007 10:39 am
Posts: 14
no one is seeing any possibility of doing this? Tried about everything I can imagine, nothing seems to work..

an other guy stumbled upon the same problem, and no solution was offered to him too: viewtopic.php?f=1&t=979621&start=0


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.