title: How hibernate is managing synchronization of data between Object and Table..?
body: <p>Consider the following scenario,</p>
  
  <p>how the synchronization is working ?</p>
  
  <p>I have a table Employee,</p>
  
  <pre><code>E_ID(PK)     E_NAME
  ----         ------
  001          Ramu
  </code></pre>
  
  <p>I have a EmployeeBen POJO class representing the above table,</p>
  
  <p>I created 3 objects for EmployeeBean class, i.e emp1, emp2, emp3</p>
  
  <p>I am using these objects in the application in different places.</p>
  
  <p>Now I updated name by using emp1 object (<code>emp1.setName("Raju")</code>),</p>
  
  <p>will this new value reflect on other objects or not ..?</p>
  
  <p>if the new values reflects on other objects, how it is reflecting (without using <code>session.refresh(emp2)</code> or <code>session.flush()</code>)..?</p>
  
  <p>I want to know , How hibernate is managing synchronization concept..?</p>