title: Pass native query per parameter to JpaRepository Interface
body: <p>I need to create an interface that extends the JpaRepository where I want to pass a native (select) <code>query</code> by parameter instead of leaving static within the <code>@Query</code> annotation. Instead of using <code>@Query (value = "select * from a where a =: a", nativeQuery = true)</code> I want to use the code sampled below.</p>
  
  <pre class="lang-java prettyprint-override"><code> public interface MeuRepository extends JpaRepository&lt;MeuEntity, Integer&gt;{
  
       @Query(value = query, nativeQuery = true)
       List&lt;MeuEntity&gt; findCustomNativeQuery(String query);
   }
  </code></pre>
  
  <p>Is it possible to do as the code exemplified above?
  How?</p>