title: Native query as variable
body: <p>Is there any way to pass a native query as a variable?</p>
  
  <p>I want to use something like that</p>
  
  <pre><code>@Component
  public interface MyRepository extends JpaRepository&lt;MyClass, long&gt;{
      @Query(nativeQuery = true, value = query) 
      List&lt;Sapf&gt; find(String query);
  }
  </code></pre>