title: JPQL QuerySyntaxException: unexpected token -- Jhipster
body: <p>I have a problem with the code generated by Jhipster.
  In my repository, i have this query </p>
  
  <pre><code>@Query("SELECT member FROM Member member left join fetch member.categories where member.id =:id")
      Optional&lt;Member&gt; findOneWithEagerRelationships(@Param("id") Long id);
  </code></pre>
  
  <p>when i run my application i have this error :</p>
  
  <blockquote>
    <p>Caused by: org.hibernate.hql.internal.ast.QuerySyntaxException:
    unexpected token: member near line 1, column 8 [SELECT member FROM
    com.cf.usercfmanagement.domain.Member member left join fetch
    member.categories where member.id =:id]</p>
  </blockquote>