Release Notes for Apache OpenJPA 4.2.0



Overview

This is the release of Apache OpenJPA 4.2.0. This distribution implements the Jakarta Persistence 3.2 specification. The Jakarta Persistence 3.2 TCK is run weekly in CI on Java 21 against PostgreSQL, MySQL, MariaDB, Microsoft SQL Server, Oracle and Apache Derby (on MySQL without the SEQUENCE tests, as MySQL has no sequences).

Additional information on the OpenJPA project may be found at the project web site: https://openjpa.apache.org

Upgrade Notes

Some changes of this release alter the mapping or the behaviour of existing applications. They are described in the Migration Considerations of the reference guide, together with the openjpa.Compatibility options that restore the behaviour of OpenJPA 4.1.x where one exists.

Prerequisites

OpenJPA requires Java 17 or higher and a relational database of some sort.

Documentation

The manual for this and older releases of OpenJPA is at https://openjpa.apache.org/documentation.html

If you can't find what you are looking for in the manual or would like more clarification, please post to the OpenJPA development mailing list. Information on all of the OpenJPA mailing lists may be found here: https://openjpa.apache.org/mailing-lists.html

Getting Involved

Contributions are welcome, for example:

How to contribute:



License

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
You may obtain a copy of the License at: https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

The license may also be found in LICENSE.txt which is included in each release of OpenJPA.

Notice

Copyright 2006,2026 The Apache Software Foundation
This product includes software developed at The Apache Software Foundation (http://www.apache.org/).

Apache OpenJPA includes the persistence and orm schemas from the JPA and Jakarta Persistence specifications:

The complete list of notices can be found in NOTICE.txt included in each assembly.



Release Notes


OpenJPA 4.2.0

Release Notes - OpenJPA - Version 4.2.0

Sub-task

Bug

Improvement

Task

Test

Epic



Previous Releases

Release notes for earlier releases of OpenJPA:


Copyright (C) 2006,2026 Apache Software Foundation. Licensed under Apache License 2.0.
Apache, the Apache feather logo and OpenJPA are trademarks of Apache Software Foundation.