Hi, I have read that this mapping is not possible in NH3.3:

<class name="Digital" table="DIGITALS">
    <composite-id>
      <key-many-to-one name="Person" class="Person" column="PERSONID" />
      <key-property name="Id" column="ID">
*        <generator class="increment"/>*
      <key-property/>
    </composite-id>
    <property name="Nombre" column="NOMBRE" />
....

Basically I need a composite-id's property to be calculed automatically by 
NH.

Maybe exists a technique to get something similar?

Thanks in advance.


-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/nhusers/-/UYW-Krto0v0J.
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