title: Error while setting up Spring Data JPA Read-Only Repository
body: <p>Spring Boot: <code>1.3.0.RC1</code></p>
  
  <p>Spring Boot Starter JPA: <code>1.3.0.RC1</code></p>
  
  <p>Having an issue with setting up a Spring Data JPA Read Only Repository.</p>
  
  <pre><code>@NoRepositoryBean
  public interface ReadOnlyRepository&lt;T, ID extends Serializable&gt; extends Repository&lt;T, ID&gt; {
      T findOne(ID id);
      Iterable&lt;T&gt; findAll();
      Iterable&lt;T&gt; findAll(Sort sort);
      Page&lt;T&gt; findAll(Pageable pageable);
  }
  </code></pre>
  
  <p>Using IntelliJ 15 I am getting this compile error:</p>
  
  <pre><code>Error:(16, 83) java: type org.springframework.stereotype.Repository does not take parameters
  </code></pre>
  
  <p>The error points at this bit of code: <code>Repository&lt;T, ID&gt;</code></p>
  
  <p>Has something changed within Spring Data JPA? Am I doing something wrong?</p>
  
  <p>Following examples as listed here: <a href="http://spring.io/blog/2011/07/27/fine-tuning-spring-data-repositories/" rel="nofollow">Fine-tuning Spring Data repositories</a></p>