This tag is for questions related to the Java Persistence Criteria API (from JPA 2.0) which is used to define queries through the construction of object-based query definition objects, rather than use of the string-based approach of the Java Persistence query language.
I am trying to construct queries dynamically, and my next target is add JOIN clauses (I don't know how can …
java api join jpa-2.0 criteria-apiI have tried to write a query statement with a subquery and an IN expression for many times. But I …
jpa subquery jpa-2.0 criteria-api in-subqueryCan you please help me how to convert the following codes to using "in" operator of criteria builder? I need …
hibernate jpa orm jpa-2.0 criteria-apiI would like to select only specific columns (ex. SELECT a FROM b). I have a generic DAO and what …
java hibernate jpa criteria-apiSo, After a 10+ year break I'm coming back to Java and trying out stuff with JPA and Java generics. I've …
java generics jpa criteria-apiUsing JPA 2 with EclipseLink implementation. I'm trying to build a dynamic query which should bring me some records persisted after …
java date jpa-2.0 criteria-apiI need to make a search method that uses the JPA Criteria API with multiple parameters. Now the problem is …
java jpa criteria-apiI have a very complicated model. Entity has a lot relationship and so on. I try to use Spring Data …
spring spring-data-jpa specifications criteria-apiI'm trying to use Criteria API in my new project: public List<Employee> findEmps(String name) { CriteriaBuilder cb = …
java jpa jpa-2.0 criteria-apiI need to create a "real" dynamic JPA CriteriaBuilder. I get an Map<String, String> with the statements. …
java jpa jpa-2.0 criteria-api