title: Spring @Transactional(isolation=Isolation.READ_UNCOMMITTED) vs Spring Data @Lock(LockModeType.None)
body: <p>Some systme info, it's using Spring, Spring Data, JPA and Hibernate.</p>
  
  <p>My question is, what's the difference between the 2? See below:</p>
  
  <pre><code>//this uses plain JPA, and uses Spring's Transactional
  @Transactional(isolation=Isolation.READ_UNCOMMITTED)
  public List getData() {
     //code
  }
  
  
  //this uses Spring Data
  @Lock(LockModeType.None)
  public List getData() {
     //code
  }
  </code></pre>