Hello .
I use HBM mapping.
I have tables :

I) person with columns :
1. ID
2. TYPE
3.CREATE_DATE
4.UPDATE_DATE

II) Attribute with columns:
1.ID
2.TYPE(in this example person may be all type)
3.NAME
4.CREATE_DATE
5.UPDATE_DATE

III) Attribute_VALUE with columns:
1.ID
2.VALUE
4.OBJECT_ID
5.ATTRIBUTE_ID
6.CREATE_DATE
7.UPDATE_DATE

There is relationship one-to-many between person(ID) and
Attribute_VALUE(OBJECT_ID).
There is relationship one-to-many between Attribute(ID) and
Attribute_VALUE(ATTRIBUTE_ID)
I need build object PERSON that contain all columns of person and
dictionary with name attribute.
The dictionary contain key - name of attribute value- collection of
values .

Can I build appropriate HBM ??

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