Skip to content

[OPENJPA-2940] Migration considerations for OpenJPA 4.2.0 (Jakarta Persistence 3.2) - #164

Merged
rzo1 merged 2 commits into
masterfrom
jpa32-migration-considerations
Sep 2, 2026
Merged

[OPENJPA-2940] Migration considerations for OpenJPA 4.2.0 (Jakarta Persistence 3.2)#164
rzo1 merged 2 commits into
masterfrom
jpa32-migration-considerations

Conversation

@rzo1

@rzo1 rzo1 commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Adds a jpa_4.2 section to migration_considerations.xml covering the changes introduced by #144 (Jakarta Persistence 3.2), derived from the merged diff and the review discussion on that PR: platform and dependency requirements, JPQL/query semantics (new reserved identifiers, materialized getResultList(), non-cascading bulk DELETE, FlushModeType.AUTO, rollback-only marking, argument validation), mapping and schema changes (default map key column, attribute overrides, converters, access type, generated DDL, schema generation), database-specific changes (PostgreSQL, MySQL/MariaDB, SQL Server, Oracle, HSQLDB), SPI changes and a compact list of notable new features.

Each item states the previous and the new behaviour and, where one exists, the property that restores the old behaviour. The PostgreSQL StoreCharsAsNumbers paragraph describes the behaviour after #163; the corresponding hunk in #163 should then be dropped, since it was placed under the OpenJPA 3.2.0 section.

Draft: the section is long and some per-database / SPI subsections may deserve trimming — reviews welcome on what to keep.

@rzo1
rzo1 requested review from cristof and solomax August 25, 2026 16:54
Comment thread openjpa-project/src/doc/manual/migration_considerations.xml Outdated
@rzo1
rzo1 marked this pull request as ready for review August 29, 2026 17:09
@rzo1 rzo1 self-assigned this Aug 29, 2026
@rzo1
rzo1 requested a review from solomax August 29, 2026 17:12
rzo1 added 2 commits August 29, 2026 19:14
…a Persistence 3.2)

Documents the incompatibilities, default changes, platform/dependency
requirements, database-specific changes, SPI changes and notable new
features introduced by the Jakarta Persistence 3.2 implementation (#144),
derived from the merged code changes and the PR review discussion.
Reverses the order of the top-level release sections in
migration_considerations.xml so that the most recent release
(OpenJPA 4.2.0) is listed first. Content is unchanged.
@rzo1
rzo1 force-pushed the jpa32-migration-considerations branch from 6e47f0e to 3d0a70f Compare August 29, 2026 17:14
@rzo1
rzo1 requested a review from solomax August 31, 2026 19:27

@solomax solomax left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

re-approving as requested :))

@rzo1
rzo1 merged commit 62bec8d into master Sep 2, 2026
4 checks passed
@rzo1
rzo1 deleted the jpa32-migration-considerations branch September 2, 2026 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants