I have an object model which contains several levels of lazy 1-M relationships. Assuming I already have the parent object loaded and the first level of a 1-M relationship (using eager fetching) in the session, is it possible to eagerly fetch all simple associations and the next level of 1-M association from the first level.
Level 0 Level 1 Level 2
[1] Order -> [1-M] Requirements -> [1-M] Events
My goal is to reduce the total number of queries to load the entire object model. This must be done incrementally since only 1 collection may be fetch eagerly at a time
Thanks,
craig
|