跳转到主要内容

Jakarta Persistence 3.1

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

New features, enhancements or additions

  • 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

Removals, deprecations or backwards incompatible changes

  • None

Minimum Java SE Version

Java SE 11 or higher

Details

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

返回顶部