title: Why does Hibernate trigger onFlushDirty twice?
body: <p>Lately I have been using the Castle ActiveRecord framework a lot and it has worked fine until I found some strange behaviour: the onFlushDirty is triggered twice in some situations. It is even triggered when I make a simple query. I'm really confused cause I'm trying to create auditing data in onFlushDirty and as I read data it's triggered which causes it to save identical data.</p>
  
  <p>How can I avoid this behaviour?</p>