Hibernate Books

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: Ignore Lazy Loading Setting
PostPosted: Fri Mar 04, 2011 5:04 pm 
Newbie

Joined: Tue Apr 01, 2008 4:16 pm
Posts: 6
I have lazy loading set to true as the default for all my objects and I want it to do that 99% of the time. However in a specific case, I need an object and all its associations and all the associations of the associations, etc fetched from the beginning. Is there a way to do this generically without having to set the fetchmode of all the associations? Basically as if lazy loading was set to "off" for all the objects.


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.