title: Spring Data JPA programmatically enable auditing
body: <p>How can I do the same as: <code>&lt;jpa:auditing auditor-aware-ref="yourAuditorAwarebean" /&gt;</code> programmatically in a <code>@Configuration</code> class?<br>
  Is the spring xml configuration mandatory to do this?</p>
  
  <p>reference: <a href="http://docs.spring.io/spring-data/jpa/docs/1.4.3.RELEASE/reference/html/jpa.repositories.html#d0e2427" rel="nofollow">http://docs.spring.io/spring-data/jpa/docs/1.4.3.RELEASE/reference/html/jpa.repositories.html#d0e2427</a></p>