Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.
Internal Website Search21-23 of 23 resultsRefresh
the OrderBy annotation, and if you are using an embedded collection (i.e. a collection which is not mapped
In earlier versions this query worked fine. In version 2.5.2_05 does not work .orderBy(cb.desc(cb.greatest(root.get("createDate").as(Date.class)))).distinct(true) Thank you for your help. galandor Orlov Sergey Please try build 2.5.2_06 that should fix this regression (of casting to Date). support Support
.orderBy(cb.asc(join2.get("name"))); System.out.println(cq.toString()); System.out.println(em