if i understand correctly, you wanna fetch one or more user, and would like
everything to be fetched with it
you can set all the associations to lazy=false either ithrough the mappings
file or when you fetch the object (with FetchMode=join).
if you're records are big, i think its better to use select\subselect
loading because with a join with multiple tables, you'll have you're records
multiply for each join...

any way, even without a join, when you access a lazy property, it will be
fetched, so even if the whole graph wasn't loaded yet, you can use you're
user object as if everything is loaded.


On Wed, Feb 17, 2010 at 8:09 PM, mynkow <[email protected]> wrote:

> Hi,
>
> I have many entities/mappings with 1:n, n:1 and n:m. How can I get all
> classes related to "User" entity for example and go deeper until the
> whole relation graph is built. In other words I want to get the
> relation graph of the mappings.
>
> Thank you.
>
> --
> You received this message because you are subscribed to the Google Groups
> "nhusers" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<nhusers%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/nhusers?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to