| Joined: Sun Aug 07, 2005 12:09 pm
 Posts: 2
 Location: Poland, Poznan
 | 
				
					| Hi
 Thanks to this forum now I know how to connect two objects connected in DB with relation.
 
 Now I have another problem :-(
 
 I tried to create one of these objects. I've created object in C# and tried to insert it into DB. Insert went smoothly but the update appeared. NHibernate was trying to update another object related to the one I've created.
 
 Example:
 
 table1
 (
 id
 name
 )
 
 table2
 (
 id
 name
 )
 
 table3
 (
 id_from_table1
 id_from_table2
 )
 
 I've created table3 object and NHibernate issued an insert. Then he tried to update table1 object in db :-(
 
 I think that there is probably some setting that I am missing in my mappings.
 
 What is this setting? What value should I set for it?
 
 If its necessary I can later (when I'll be at home) post my mappings.
 _________________
 best regards
 
 
 |  |