users@glassfish.java.net

JPA 2 maven dependencies ?

From: Felipe Gaścho <fgaucho_at_gmail.com>
Date: Mon, 30 Nov 2009 09:29:49 +0100

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