title: java spring : unexpected token: *
body: <p>In my jpa interface, i have the following code:</p>
  
  <pre><code>public interface ConsultationRequestRepository extends CrudRepository&lt;ConsultationRequest, Integer&gt; {
  
      @Query("select * from ConsultationRequest where status = ?1")
      List&lt;ConsultationRequest&gt; findRequestsByStatus(ConsultationStatus status);
  }
  </code></pre>
  
  <p>but it complains with the error:</p>
  
  <pre><code>antlr.NoViableAltException: unexpected token: *
  </code></pre>
  
  <p>what is wrong in this code?</p>