This tag is for questions about the version 2.0 of the Java Persistence API.
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-subqueryI am rather new to JPA 2 and it's CriteriaBuilder / CriteriaQuery API: CriteriaQuery javadoc CriteriaQuery in the Java EE 6 tutorial I …
java jpa-2.0 criteriaqueryCan 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-apiIs it possible to select, say, only properties A and B from an object using a JPA query without using …
java jpa jpa-2.0 jpa-2.1 criteriaqueryI have a following problem with entity mapping in JPA. I have two entities, first one is Lookup and the …
java jpa jpa-2.0Say I have a unidirectional @ManyToOne relationship like the following: @Entity public class Parent implements Serializable { @Id @GeneratedValue private long …
java jpa jpa-2.0 many-to-oneI have a problem with Java Persistence API and Hibernate. My situation of project is: My persistence.xml file is: &…
eclipse hibernate jpa-2.0 entitymanager