-->
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: MaxFetchDepth exceptions?
PostPosted: Mon Dec 12, 2005 11:25 am 
Beginner
Beginner

Joined: Mon May 24, 2004 7:39 pm
Posts: 37
Location: Charlotte
I have a great deal of foreign keys to, to decrease initial load time (at the cost of incremental load time) I have set the MaxFetchDepth to 0. There are a few parent relationships that I would like to set as an exception because I know I will always be accessing this information.

<attribute name="MaxFetchDepth">0</attribute>

I tried setting lazy="false" in the class definitions that I wanted to be an exception but hibernate did not include those parents in the child sql statement.

Is there any wayI can do this? Thank you very much.

Joe[/code]


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.