title: Nhibernate Exception while flushing session
body: <p>I have parent table "Parent" with column "SpokenlanguageId", "WrittenlanguageId". These two columns are referenced by column "languageid" in child table (both Parent table columns are referred by same child table column).</p>
  
  <p>In parent table hbm file, I have included many to one relationship on parent table columns (SpokenlanguageId, WrittenlanguageId) with cascade = "None"
  my scenario would be to insert and update data only in parent table not on child table as it a lookup table. I get the following error with above settings being set on my hbm file</p>
  
  <p>NHibernate.TransientObjectException</p>
  
  <p>object references an unsaved transient instance - save the transient instance before flushing or set cascade 
  action for the property to something that would make it autosave.</p>
  
  <p>I got above error while flushing the nhibernate session.</p>