9 August 2022

Jakarta persistence 3.1 highlights

  • autocloseable EntityManager and EntityManagerFactory
  • Criteria CASE expression support Expressions as conditions
  • JPQL (and criteria API)
    • CEILING, EXP, FLOOR, LN, POWER, ROUND, SIGN
    • LOCAL DATE/TIME/DATETIME

You can find the specification here.

Jakarta EE components overview

Jakarta EE is the project to follow up Java Enterprise Edition. The name change follows the transition of the governance from Oracle to the Eclipse organisation. Jakarta EE9 is simply taking over from Java EE 8 without functional changes. It changes package namespaces to jakarta.* and  removes some obsolete API's. You can find the Java EE evolution up to Java EE8 in an earlier post. From Jakarta EE9 the components are evolving.

Jakarta EE release9 10
year2020 2022
Requires Java SE811
Jakarta Activation2.02.1
Jakarta Annotations2.0.0 2.1
Jakarta Authentication2.0.0 3.0
Jakarta Authorization2.0.0 2.1
Jakarta Batch2.0.0 2.1.0
Jakarta Bean Validation3.0
Jakarta Concurrency2.0.0 3.0
Jakarta Connectors2.0.0 2.1.0
Jakarta Contexts and Dependency Injection3.04.0
Jakarta Enterprise Beans4.0
Jakarta Expression Language4.0.05.0.0
Jakarta Faces3.0.0 4.0
Jakarta Interceptors2.0 2.1
Jakarta JSON Binding2.0.0 3.0.0
Jakarta JSON Processing2.0.02.1
Jakarta Mail2.0.02.1
Jakarta Messaging3.0.03.1.0
Jakarta Persistence3.0 3.1
Jakarta RESTful Web Services3.0 4.0
Jakarta Security2.03.0
Jakarta Server Pages3.03.1.0
Jakarta Servlet5.06.0
Jakarta Standard Tag Library2.0.0 3.0.0
Jakarta Transactions2.0.0
Jakarta WebSocket2.0.0 2.1.0
Jakarta XML Binding3.0 4.0
Jakarta XML Web Services3.0 4.0
Jakarta XML Web Services (SOAP with Attachments)2.0 3.0

If a cell is empty in the above table, the version is the same as in the previous release.