title: Hibernate - Version property invokes automatic update on change?
body: <p>When retrieving entities and manipulating some of their properties programmatically an automatic update is invoked, with no manual call to <code>session.update()</code> by hibernate on commit incrementing my db-generated version column. (Even validation takes place).<br>
  I was surprised about my high version values and validation.</p>
  
  <p><strong>Hibernate 4.3.1</strong></p>
  
  <p>The entities are still attached to the session. </p>
  
  <p><strong>Pseudo-code:</strong></p>
  
  <pre><code>Session session = sessinFactory.openSession();
  Transaction tr = session.beginTransaction();
  
  Entity entity = session.get(Entity.class, 1);
  
  entity.setFoo("foo");
  
  tr.commit();
  session.close(); // here fake-update takes place
  </code></pre>
  
  <p><strong>Question:</strong></p>
  
  <p>Is this a feature? </p>
  
  <p>I could try to detach instances that i am going to manipulate.</p>
  
  <p>Or is this a bug? For me its more a bug, since I did not invoked an update. But not an fake-update.</p>