Incompatibilities
OpenJPA 4.2.0 implements the Jakarta Persistence 3.2 specification and passes the Jakarta Persistence 3.2 TCK. The following sections indicate changes that are incompatible between OpenJPA 4.1.x releases and the 4.2.0 release. Most of them align OpenJPA with the specification and cannot be switched off; where a configuration option restores the previous behavior, it is mentioned in the respective section. Open follow-up items from the review of this work are tracked under OPENJPA-2945.
-
Criteria arithmetic takes its result type from both operands
-
Completed access paths for Criteria and collection-valued queries
-
Exceptions mark the transaction rollback-only; closed EntityManager checks
-
Argument validation in find(), getReference(), detach(), contains(), remove()
-
EntityManager.close() with an active resource-local transaction
-
PersistenceUnitUtil.getIdentifier() returns the plain identifier
-
Converter types declared by a generic superclass or interface
-
An auto-apply converter maps an attribute whose type is not serializable
-
DELETE affecting zero rows tolerated for unversioned entities
-
SPI changes for custom store, dictionary and expression implementations