Skip to content

JPA 2.1 support with Kundera

chhavigangwal edited this page Dec 19, 2013 · 13 revisions

Kundera can now be used with Java EE 7 based applications which brings along new JPA2.1 specifications. The support for JPA2.1 is not enabled over trunk as of now, however the supporting jars can be downloaded from Kundera's repository.

This can be done using maven by adding it as a repository in your project :

<repository>
  <id>kundera-missing</id>
  <name>Kundera Public Missing Resources Repository</name>
  <url>http://kundera.googlecode.com/svn/maven2/maven-repo-release</url>
  <releases>
    <enabled>true</enabled>
  </releases>
  <snapshots>
   <enabled>true</enabled>
  </snapshots>
</repository>

And later add the required dependency (e.g. for Cassandra) to your project that uses JPA2.1 :

<dependency>
  <groupId>com.impetus.client</groupId>
  <artifactId>kundera-cassandra-jpa2.1</artifactId>
  <version>0.1</version>
</dependency>

Limitations :

  • Not all the specifications of JPA2.1 are currently supported over Kundera
Clone this wiki locally