title: Spring @Transactional class vs method precedence rules
body: <p>Spring says abuot <code>@Transactional</code></p>
  
  <blockquote>
    <p>The most derived location takes precedence when evaluating the transactional settings for a method.</p>
  </blockquote>
  
  <p>Does this mean the annotation on method completely overrides annotation from class or does the omitted attributes (so defaults) does not count?</p>
  
  <p>E.g.</p>
  
  <pre><code>@Transactional(isolation=Isolation.SERIALIZABLE)
  public class MyService {
  
      @Transactional(readOnly=true)
      public void method() {
         ...
      }
  }
  </code></pre>
  
  <p>So what is the isolation settings of the method? Is this <code>Isolation.DEFAULT</code> because this is the default so it implicitly overrides <code>Isolation.SERIALIZABLE</code> or is it <code>Isolation.SERIALIZABLE</code> because none was explicitly specified on method annotation?</p>