title: How to fix the Hibernate "object references an unsaved transient instance - save the transient instance before flushing" error
body: <p>I receive following error when I save the object using Hibernate </p>
  
  <pre><code>object references an unsaved transient instance - save the transient instance before flushing
  </code></pre>