This page describes an older version of the product. The latest stable version is 16.4.

JPA API


The Java Persistency API (JPA) is a Java programming language framework managing relational data in applications using Java Platform. XAP’s JPA allows you to use JPA’s functionality, annotations and execute JPQL queries on Space. XAP’s JPA implementation is based on OpenJPA.


Overview
XAP allows applications to use the JPA API to access the Space.

JPA Entity Id
Various options for mapping the identifier property of your JPA entities are provided.

JPA Relationships
The XAP JPA relationships model is different than Relational Databases model. In GigaSpaces relationships are owned, which means that an owner of a relationship holds the owned entities within itself in Space.

Limitations
Functionalities that are not supported by the XAP JPA API.


Additional Resources