title: Spring Boot: Execute SQL
body: <p>hello i just built a query in my method which return an sql query, the sql query is in a variable of type string which is in parameter but I can't seem to execute it with @Query please that must I do !</p>
  <p>code interface JPA REPOSITORY :</p>
  <pre><code>@Query(requete)
  Iterable&lt;Closerfprfx&gt; findAllrequete(String requete);
  </code></pre>
  <p>error :</p>
  <blockquote>
  <p>requete cannot be resolved to a variable</p>
  </blockquote>