title: @Query annotation using like %?1%
body: <p>I'd like to write a query like this</p>
  
  <pre><code>@Query("select p from Product p where p.name = ?1 or p.desc like %?1%")
  </code></pre>
  
  <p>but it gives me the exception</p>
  
  <pre><code>org.hibernate.hql.ast.QuerySyntaxException: unexpected token: % near line 1,
  </code></pre>
  
  <p>I tried replacing % with '%' or concatenating the query string like this: "select ... like '%'" + "?1" + "'%'" but with no luck, please help me</p>