Here I found, how to wrap such a query into a CriteriaQuery (Link). CriteriaQuery<Pet> cq = cb.createQuery(Pet.class); Root<Pet> pet = cq.from( ...
確定! 回上一頁