@Repository not necessary when implementing JpaRepository? : <p>I have a rpository class in my spring boot app. First, I annotated it with <code>@Repository</code> and then I implemented <code>JpaRepository</code>. Now I got rid of the annotation and it still works.</p>

<p>I saw that <code>JpaRepository</code> has the <code>@NoRepositoryBean</code> annotation.</p>

<p>How does this work? Or should this not work and there's something weird going on in my application?</p>
