title: Hibernate: Need to save the same object twice within the transaction
body: <p>I need to save the same object twice within transaction, but hibernate always have only one sql update, any way to do it?
  Here is the code:</p>
  
  <pre><code>....
  session.beginTransaction();
  Student s = session.get(Student.class, id);
  
  // (1) first save 
  s.setSequenceNum(10);
  session.saveOrUpdate(s);
  
  // (2) second save
  s.setSequenceNum(9);
  session.saveOrUpdate(s);  // save again
  
  session.getTransaction().commit();
  session.close();
  </code></pre>
  
  <p>hibernate will ignore the first one, and only have one sql update for the second. How can i let hibernate do both of the two sql update? I need this because it is the requirement in our project.</p>