title: Update query executing but not updating table with hibernate
body: <p>I have a db with 5 pieces (id, question, result) and i want to change my db with update query and hibernate.</p>
  
  <p>I tried this </p>
  
  <pre><code>public void update()
      {
          try
          {
              Session session = getSession();
              Transaction tx = session.beginTransaction();                
  
              Query query = getSession().createQuery("update Nodes set question = 'test updating' where id = 1" );
  
              tx.commit();
              session.close();
  </code></pre>
  
  <p>I don't have error, in console i have </p>
  
  <pre><code>Infos: Hibernate: update node set question='test updating' where id=1
  </code></pre>
  
  <p>Hibernate execute my update without error but there is not in my db, why ?</p>
  
  <p>Thanks</p>