title: How to turn Hibernate Envers (ON / OFF) through persistence XML
body: <p>In my application, I'm using Hibernate Envers 4.2.12 for creating audit trail module.It's working fine but at sometimes I need to turn audit trail off so can I configure this at persistence XML ? </p>
  
  <p>Note: After search, I found the below properties to disable Hibernate Envers service and I tried it but it not worked</p>
  
  <pre><code>&lt;property name="hibernate.integration.envers.enabled" value="false" /&gt;
  &lt;property name="hibernate.envers.autoRegisterListeners" value="false"/&gt;
  </code></pre>