title: Does spring data jpa @query support projection?
body: <p>spring boot version: 1.5.10, spring data jpa 1.11.10</p>
  
  <p>In my MyEntityRespostory:</p>
  
  <pre><code> Page&lt;MyEntityPro&gt; findByName(String name,Pageable pageable ) // working
  
   @("select e from MyEntity e")
   Page&lt;MyEntity&gt; search1(Pageable pageable) // working
  
   @("select e from MyEntity e")
   Page&lt;MyEntityPro&gt; search2(Pageable pageable) //error-No aliases found in result tuple! Make sure your query defines aliase
  </code></pre>
  
  <p>I search the error and find :
  <a href="https://jira.spring.io/browse/DATAJPA-885" rel="nofollow noreferrer">https://jira.spring.io/browse/DATAJPA-885</a></p>