| Hi
 I have Two parent tables and 1 child table mapped with 1-N
 
 Ex:
 Table A                                    Table B
 SK_ID     Name                          SK_ID   Name
 
 
 where Table C is child for the both A and B
 
 Table C
 
 Sk_ID     Address      BK_PARENT_SK_ID
 
 
 
 
 
 where BK_PARENT_SK_ID is the key that is from the both the table A,B when i map with set in the hbm.xml both in A and B like
 
 <set name="address" cascade="all" lazy="true">
 <key column="BK_PARENT_SK_ID" not-null="true"/>
 <one-to-many class="C" />
 </set>
 
 am getting an error stating insert="false",update="false"...
 
 
 
 
 
 Looking for suggestion
 
 
 
 chandra sekhar
 
 
 |