title: CriteriaQuery set cacheable
body: <p>I understand that we will be able to set hibernate caching for query by using query.setHint("org.hibernate.cacheable", true) like the example below. However, does anyone know of any way to do it for CriteriaQuery instead of Query?</p>
  
  <pre><code>Query query = entityManager.createQuery("from " + Employee.class.getName());
  query.setHint("org.hibernate.cacheable", true);
  return query.getResultList();
  </code></pre>