title: JPA - Filter MySQL DOUBLE (6,2) with LIKE of CriteriaQuery
body: <p>i want to filter a DOUBLE (6,2) value from my database with the LIKE-Function of CriteriaQuery. But it throws a Exception:</p>
  
  <pre><code>Internal Exception: java.sql.SQLSyntaxErrorException: No authorized routine named 'LIKE' of type 'FUNCTION' having compatible arguments was found.
  </code></pre>
  
  <p>the code:</p>
  
  <pre><code>    stundensatz.ifPresent(s -&gt; criteriaQuery.where(criteriaBuilder.like(mitarbeiter.get("stundensatz"), "%" + s + "%")));
  </code></pre>
  
  <p>"Stundensatz" means hourly rate. I did the same with a INTEGER, this worked fine. How can i filter a DOUBLE with LIKE? I really need help. I can't find a any articles about this here. I tried to convert the <code>mitarbeiter.get("stundensatz")</code> to a String or Integer, but this didnt work.</p>
  
  <p>Thank you in advance.
  sven_meye</p>