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: Eager loading of child collections
PostPosted: Mon Nov 10, 2008 12:03 pm 
Newbie

Joined: Mon Nov 10, 2008 11:47 am
Posts: 1
Hi!

I have been using LLBLGenPro for quite a time now and I've used prefetch paths a lot to eager load child collections of entities collections. I wanted to know if nhibernate has support for this? I've seen examples to eager load child collections for a single root element, but I am wondering if these examples would work for a collection of root elements.

For instance, I want to grab all the orders of all my clients, in 2 queries (one for the clients, one for the orders) and let the mapping be done by the ORM. Is this possible with nhibernate? If so, how far can it go?

The thing I don't like with llblgen is that I can't use my own objet domain and since my business layer already make use of my objects, I am looking for an ORM that will let me use my own domain.

Thank you!

Hibernate version: 2
Name and version of the database you are using: mssql 2005


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.