title: Nothing was stored in database when mode=aspectj
body: <p>I build an application which use Hibernate JPA2 + Spring. I have problem with transaction. I'm using declarative transaction in my POJO classes. In context config I have next line:</p>
  
  <pre><code>&lt;tx:annotation-driven mode="aspectj" transaction-manager="transactionManager"/&gt;
  </code></pre>
  
  <p>I copy it from book. But when I try persist some of my entity to database, then nothing will be stored and no error or exception occurs. I tried remove attribute "mode" from xml tag, here it is:</p>
  
  <pre><code>&lt;tx:annotation-driven transaction-manager="transactionManager"/&gt;
  </code></pre>
  
  <p>After that all works fine.
  So for what is a "mode" attribute? When I remove it, then will be my transaction work correctly?</p>