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 feel like this is a silly question, but I can't find the answer. I have a class as follows: …
jpa criteria-apiI need to convert a Hibernate criteria query like the following curList = session.createCriteria(Islem.class) .createAlias("workingDay", "d") .setProjection(…
hibernate jpa-2.0 projection criteria-api hibernate-criteriaI was reading the "Dynamic, typesafe queries in JPA 2.0" article and stumbled upon this example: EntityManager em = ... CriteriaBuilder qb = em.…
java jpa criteria-apiHow can I express literal true and literal false in JPA's Criteria API? I'm looking for something like Predicate alwaysTrue = …
jpa criteria-apii have a problem with getting List from entity Person using Spring data JPA specifications (because of pagination). I need …
spring jpa criteria-api specifications spring-data-jpaI'm building my first Java EE web application using Glassfish and JSF. I'm fairly new to the criteria query and …
java jpa criteria-apiHow to use coalesce or case statement in JPA 2 using CriteriaBuilder For many records initiatedBy will be empty and as …
hibernate jpa jpa-2.0 criteria-api coalesceI have my entity class available via a method. I'm trying to figure out, how via the JPA JPQL or …
java jpa criteria criteria-apiI use JPA criteria API to fetch records from the datebase. I have entity Record with field dateTime which can …
java jpa criteria-apiI have the following Entities; Ticket contains a set of 0,N WorkOrder: @Entity public class Ticket { ... @OneToMany(mappedBy="ticket", cascade = …
jpa jpa-2.0 criteria-api