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'm trying to delete a bunch of objects with one query using the CriteriaBuilder API. I'm looking for something like …
java hibernate jpa criteria-apiI have a question regarding JPA criteria. Here is my JPA criteria query: CriteriaBuilder criteriaBuilder = getEm().getCriteriaBuilder(); CriteriaQuery<InventoryItemSumReport&…
jpa-2.0 java-ee-6 criteria-apiI have an entity service on which I need to filter a collection of child entity, based on a list …
jpa spring-data predicate criteria-apiI am trying to "extract" Embeddable classes based on some criterias from a list in an Entity. Either with the …
java jpa jpql criteria-api embeddableI am trying to implement the following convenience method: /** * Counts the number of results of a search. * @param criteria The …
orm jpa count jpa-2.0 criteria-apiI have a String as parameter (which is in fact a valueOf(an Integer) and want to compare it to …
java hibernate jpa criteria criteria-apiWithout using CriteriaQuery#select() : public List<Address> getAddressOfManager(String designation, String name, String orderByColumn) { Boolean ascending = false; CriteriaBuilder …
hibernate jpa criteria criteria-apiIs there a way with JPA criteria queries to order on class? Imagine the following domain objects: abstract class Hobby { ... } …
hibernate jpa jpa-2.0 criteria-apiI'm trying to write a query similar to select * from Table a where a.parent_id in (select b.id …
java jpa-2.0 criteria-apiI am a bit stucked constructing a dynamic query using the CriteriaBuilder of JPA 2.0. I have quite a common use …
java dynamic jpa criteria-api jpa-2.0