title: how to apply like operator for Integer in hibernate criteria?
body: <p>I want to apply like operator to an Integer by using the criteria API of Hibernate </p>
  
  <pre><code>Ex:from User where str(id) like :id
  </code></pre>
  
  <p>It works using HQL, but I want to write the same query using the Hibernate criteria API.</p>