title: Database trigger and Hibernate
body: <p>I've met a scenario:</p>
  
  <ol>
  <li><code>save</code> or <code>update</code> some data in a target table by hibernate</li>
  <li>there is a trigger on the target table which will be executed before <code>insert</code> or <code>update</code> operations of the target table</li>
  <li><code>select</code> out this record by hibernate</li>
  </ol>
  
  <p>But I find that the fields which have been modified by the trigger are not really fetched out.
  Is this related with transactions commit of Hibernate (flush() has already be called) or Hibernate cache? thanks.</p>