Skip to main content
  • Edit my account
  • Manage Cookies

Jakarta Persistence 3.1

Jakarta Persistence defines a standard for management of persistence and object/relational mapping in Java(R) environments.

The release contains following changes:

  • EntityManagerFactory and EntityManager interfaces extend java.lang.AutoCloseable interface
  • Fixes ClassTransformer.transform to throw Persistence API specific exception
  • Adds support for java.util.UUID and GenerationType.UUID
  • Adds CEILING, EXP, FLOOR, LN, POWER, ROUND, and SIGN numeric functions to Jakarta Persistence QL and ceiling(), exp(), floor(), ln(), power(), round(), and sign() to Criteria API
  • Adds LOCAL DATE, LOCAL DATETIME, and LOCAL TIME functions to Jakarta Persistence QL and corresponding localDate(), localDateTime(), and localTime() to Criteria API
  • Adds EXTRACT function to Jakarta Persistence QL
  • Adds support for Expressions as conditions in Criteria CASE expressions
  • Adds missing definition of single_valued_embeddable_object_field in Jakarta Persistence QL BNF
  • Clarifies mixing types of query input parameters
  • Clarifies definition of the Basic type
  • Clarifies the order of parameters in the LOCATE function
  • Clarifies SqlResultSetMapping with multiple EntityResults and conflicting aliases

Requires Java SE 11 or newer (aligned with Jakarta EE 10).

Compatible Implementations

Ballots

Release Review

The Specification Committee Ballot concluded successfully on 2022-04-06 with the following results.

Representative Representative for: Vote
Kenji Kazumura Fujitsu +1
Tom Watson, Emily Jiang IBM +1
Ed Bratt, Dmitry Kornilov Oracle +1
Andrew Pielage, Matt Gill Payara +1
David Blevins, Jean-Louis Monteiro Tomitribe +1
Ivar Grimstad EE4J PMC +1
Marcelo Ancelmo, Martijn Verburg Participant Members +1
Werner Keil Committer Members +1
Jun Qian Enterprise Members +1
Zhai Luchao Enterprise Members +1
Total 10

The ballot was run in the jakarta.ee-spec mailing list

Plan Review

The Specification Committee Ballot concluded successfully on 2021-04-28 with the following results.

Representative Representative for: Vote
Kenji Kazumura Fujitsu +1
Dan Bandera, Kevin Sutter IBM +1
Ed Bratt, Dmitry Kornilov Oracle +1
Andrew Pielage, Matt Gill Payara +1
Scott Stark, Mark Little Red Hat no vote
David Blevins, Jean-Louis Monteiro Tomitribe +1
Ivar Grimstad EE4J PMC +1
Marcelo Ancelmo, Martijn Verburg Participant Members +1
Werner Keil Committer Members +1
Dr. Jun Qian Enterprise Members +1
Total 9

The ballot was run in the jakarta.ee-spec mailing list

Click on the specifications below to access the specification document, Javadoc, Technology Compatibility Kit (TCK), and compatible implementation for each release of the specification.

Platform and Profile Specifications

The Jakarta EE Platform and Profile specifications are the umbrella specifications for the individual specifications. The Jakarta EE Platform includes most of the individual specifications, while the Profile specifications include the individual specifications for developing web platforms and microservices architectures.

Individual Specifications

Each individual specification describes a standardized way of implementing a particular aspect of an enterprise Java application.

Back to the top