This tag is for questions specifically about new features of version 2.1 of the Java Persistence API.
Is 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 am trying following hql query to execute SELECT count(*) FROM BillDetails as bd WHERE bd.billProductSet.product.id = 1002 AND …
hibernate hql jpa-2.0 dereference jpa-2.1A quick search on the Net reveals three or four variants how folks have been specifying xmlns and xsi:schemaLocation …
java jpa jpa-2.1 persistence.xmlI have an enterprise application running in the following environment. Mojarra 2.2.7 PrimeFaces 5.0 final PrimeFaces Extension 2.0 final OmniFaces 1.8.1 EclipseLink 2.5.2 having JPA 2.1 …
jakarta-ee jpa eclipselink java-ee-7 jpa-2.1Using spring data JPA, I am trying to make this sort of query (it is more complex, this is a …
jpa jpa-2.0 spring-data-jpa jpa-2.1I am trying to map native SQL result to my POJO. Here is the configuration. I am using spring. <…
spring-data-jpa hibernate-4.x jpa-2.1I'm trying to do bulk delete in my entities, and the best solution will be to go with CriteriaDelete. But …
java jpa eclipselink jpa-2.1 bulk-delete