General
Last updated
Was this helpful?
Last updated
Was this helpful?
The JDK includes a persistence API, the JPA.
Mapping persistence entities (annotations or XML)
Query language (DSL or domain objects)
As it is an API, it requires an implementation. Some of the most popular are:
To test and remember how to work with JPA use the .
There are several version of the Java Persistence API v2, which causes a lot of problems. But luckily the version 2.2 of the API has an official release:
Whenever possible use the version 2.2 or higher of JPA to avoid possible incompatibilities between API implementations.