title: Can't seem to make Isolation READ COMMITTED work
body: <p>I am using hibernate and Spring to control the transactions.</p>
  
  <p>I currently have a Object <em>Foo</em> that I want to read from database before I update it. Something like that</p>
  
  <pre><code>@Transactional(isolation = Isolation.READ_COMMITTED)
  public void update(Foo beingUpdated) {
     Foo beforeUpdate = fooDao.read(beingUpdated.getId());
  
     checkDifferences(beingUpdated, beforeUpdate);
     fooDao.update(beingUpdated);
  }
  </code></pre>
  
  <p>but my problem is that when I read <em>Foo</em>, the returned object is the one being updated, not the commited. Am I misunderstanding the use of Isolation? How can I read the object committed at database, not the one being updated?</p>
  
  <p>Appreciate any help.</p>