title: Get query from file in SPRING BOOT using @Query
body: <p>I have a proyect that use to load queries this:</p>
  
  <pre><code>@Query(value = SELECT_BY_USER_ID, nativeQuery = true)
  Employee findByUserId(@Param("userId") String userId);
  </code></pre>
  
  <p>On "SELECT_BY_USER_ID" is a normal String query.</p>
  
  <p>I have a YML configuration outside jar, that I use to load differents configurations, and I want to use this YML, to load queries too.</p>
  
  <p>Example YML:</p>
  
  <pre><code>file:
      query1: SELECT * FROM DUAL;
  </code></pre>
  
  <p>But I don't know how to load directly from my file in @Query value, I tried like that:</p>
  
  <pre><code>@Query(value = ("${file.query1}"), nativeQuery = true)
  List&lt;Employee&gt; findByCost();
  </code></pre>
  
  <p>How can I do?
  Thank you.</p>