I am trying to use the JPA 2 Criteria, but I don't have the
QueryBuilder in the classpath:
QueryBuilder qb = em.getQueryBuilder();
what is the maven dependencies required to have JPA 2 in the project ?
what I have here:
<dependency>
<groupId>org.eclipse.persistence</groupId>
<artifactId>eclipselink</artifactId>
<version>2.0.0-M11</version>
<scope>provided</scope>
</dependency>
------------------------------------------
Felipe Gaścho
10+ Java Programmer
CEJUG Senior Advisor