title: Spring data jpa @transactional
body: <p>Below is the flow of my application </p>
  
  <p>Controller - services - repository</p>
  
  <p>At the service layer we have <code>@Transactional</code> annotation
  We also have <code>jpa:repository</code> configuration where we specify the entity manager and txn manager. </p>
  
  <p>My doubt is I feel that the txn manager specified in <code>jpa:repositories</code> is considered and there is no impact of specifying <code>@Transactional</code> at service layer. 
  For eg : the service layer <code>@Transactional</code> can be mapped to custom txn manager where as the repository invoked by the service may have a different txn manager. In that case won't it create a problem?</p>
  
  <p>Can Somebody clarify do we ever need to put <code>@Transactional</code> at service layer when we are using jpa repository ?</p>