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.
Im trying to write query, which returns me list of Drivers wich is not assigned to route. My database a …
hibernate jpa criteria-api not-existsI am using JPA2 with it's Criteria API to select my entities from the database. The implementation is OpenJPA on …
jpa jpa-2.0 fetch criteria-api openjpaI am working with Hibernate to protect my website from SQL Injection. I heard that Hibernate Criteria API is more …
java hibernate sql-injection criteria-api hibernate-criteria@Entity public class Person { @ElementCollection private List<Location> locations; [...] } @Embeddable public class Location { private Integer dummy; private Date …
java orm jpa jpa-2.0 criteria-apiI'm wondering if it is possible to initialize a transient attribute of an entity during a criteria query. Example @Entity …
java jpa-2.0 criteria-apiIn my Wicket+JPA/Hibernate+Spring project, much of the functionality is based around the Inbox page where, using many …
java annotations jpa-2.0 criteria-apiI am trying to use subqueries in an application I am writing using JPA 2.0 type-safe criteria API, with Hibernate 3.6.1.Final …
jpa subquery criteria jpa-2.0 criteria-apiHow can I formulate the following JPA2 criteria query without using the metamodel classes: CriteriaBuilder cb = em.getCriteriaBuilder(); CriteriaQuery<…
java orm jpa jpa-2.0 criteria-apiI want to transform my JPAQL queries into criteria API queries. Consider query like this: SELECT e FROM Entity e …
jpa-2.0 criteria-apiI'm trying to achieve something like the following, using the JPA Criteria API: SELECT b FROM Box b JOIN SpecialItem …
jpa criteria-api