title: How to filter soft deleted items in Spring Data's findAll() method?
body: <p>Recently i learned there is <code>@Where</code> annotation, and i can successfully use it on my <code>@Entity</code> class. Looks like this filter will be applied in to every query.
  And i faced the problem when i try to get this soft-deleted entity as element of collection in another @Entity.  </p>
  
  <blockquote>
    <p>Unable to find SoftDeletedEntity with id xx (through reference chain ...</p>
  </blockquote>
  
  <p>Now i want to try to use this @Where filter only on SpringData repo's <code>findAll()</code> method. I tried the following, but it did not work.</p>
  
  <pre><code>    public interface MyEntity extends JpaRepository&lt;MyEntity, Long&gt; {
  
      @Where(clause = "is_deleted = 'false'")
      @Override
      List&lt;MyEntity&gt; findAll();
  }
  </code></pre>
  
  <p>Is it possible at all? </p>