title: Real life scenario in which detached object needs to be persisted: Hibernate
body: <p>I am learning hibernate and came to know the Object states which Hibernate maintains for <code>Entities</code>: <code>Transient</code> , <code>Persistent</code> , <code>detached</code>.</p>
  
  <p>What would be the real life scenario in which we would want to have a <code>detached</code> object to be <code>persisted</code> again?</p>
  
  <p>I referred online and one of the example is in which data is displayed in GUI then detached and once user makes the changes, the detached object is persisted again.</p>
  
  <p>Can there be any other example other than this for better understanding?</p>