title: Save the transient instance before flushing or set cascade action for the property to something that would make it autosave
body: <p>I am facing some error while it commits translation.The error is given below</p>
  
  <blockquote>
    <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>
  </blockquote>
  
  <p>I have created a .hbm.xml file for TBASubType</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;hibernate-mapping namespace="M3.Entities" assembly="M3.Entities" xmlns="urn:nhibernate-mapping-2.2"&gt;
    &lt;class name="TBASubType" table="tBASubType" schema="dbo"&gt;
      &lt;id name="FSubTypeID" type="Guid"&gt;
        &lt;generator class="assigned" /&gt;
      &lt;/id&gt; &lt;version name="FTimestamp" generated="always" unsaved-value="null" type="BinaryBlob"&gt;   &lt;column name="FTimestamp" not-null="true" sql-type="timestamp"/&gt;    &lt;/version&gt;
      &lt;property name="FType" type="Int32" precision="10" not-null="true" /&gt;
      &lt;property name="FName" type="String" length="50" not-null="true" /&gt;
      &lt;property name="FActive" type="Boolean" not-null="true" /&gt;
  
      &lt;many-to-one name="TSCEnterprise" class="TSCEnterprise" column="fEnterpriseID" not-null="true" /&gt;
      &lt;set name="TBADepositMasters" table="tBADepositMaster" inverse="true" cascade="all"&gt;
        &lt;key column="fSubTypeID" /&gt;
        &lt;one-to-many class="TBADepositMaster" /&gt;
      &lt;/set&gt;
    &lt;/class&gt;
  &lt;/hibernate-mapping&gt;
  </code></pre>
  
  <p>How can I solve this error?</p>