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]
|
|