Hi all. I'm trying to map a collection (bag) into a composite-element.
Isn't this possible?

<class name="A" ...>

<bag name="B" table="A_B">
  <key .../>
  <composite-element>
    <property .../>
    <bag name="C" table="A_B_C">
      <key ..../>"
      <element .../>
    </bag>
  </composite-element>

</class>

If this is not possible, I have to turn "B" or "C" into a entity
(providing id and version) which would be unnatural, because B and C
are simple classes, almost like value types. Or is there another
solution? Thanks a lot.
--~--~---------~--~----~------------~-------~--~----~
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