hi
if i have one entity mapped to 2 tables like that :
Code:
   <class name="Entity1" table="Entity1">
      <id name="Member1" column="Member1" type="Int32">      
                  <generator class="native"/>
      </id>
      <property name="Member2" column="Member2" type="String" not-null="true" />
      <join table="table2">
         <key column="Member1" unique="true" />
         <property name="Member3" column="Member3" type="String" not-null="true" />
         <property name="Member4" column="Member4" type="String" not-null="true" />
      </join>
   </class>
and i have another entity where there is association between the two entities
for Entity1:
should i put the foreign key in the 2 tables ??