Tiago,

You are not explaining what the problem is. Do you have an exception when 
building the session factory, or when querying, or doesn't the query bring 
what you expected? Can you see the generated SQL?

RP

On Tuesday, October 8, 2013 6:16:35 PM UTC+1, Tiago Azevedo wrote:
>
> I'll try to explain my situation, sorry if the formulation of the phrases 
> get bad, I'm using a translator.
>
> I have a user that has a profile, this profile can be Administrator, 
> Manager, Employee, etc.. Each profile has a list of roles and each role 
> represents an access to a certain page. Each role has a list of other 
> roles. The roles forms a hierarchical tree structure(See image below).
>
>
> <https://lh4.googleusercontent.com/-QD-a5q-qixE/UlQ8wsC1K1I/AAAAAAAAAVc/IzBh1g9mD_I/s1600/TriStateTreeView.png>
> What I need is to set classes and mappings.
>

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to