8000 build: upgrade EclipseLink from 4.0.9 to 5.0.0 by kawasima · Pull Request #119 · enkan/enkan · GitHub
[go: up one dir, main page]

Skip to content

build: upgrade EclipseLink from 4.0.9 to 5.0.0 - #119

Merged
kawasima merged 4 commits into
developfrom
feature/eclipselink-5.0.0
Mar 28, 2026
Merged

kawasima merged 4 commits into
developfrom
feature/eclipselink-5.0.0

Conversation

@kawasima
Copy link
Copy Markdown
Collaborator

Summary

Upgrade EclipseLink from 4.0.9 to 5.0.0 GA (released 2026-03-23).

No source changes required — all APIs used by EclipseLinkEntityManagerProvider (SEPersistenceUnitInfo, PersistenceUnitProperties, SLF4JLogger) remain compatible.

Test plan

  • All 4 existing EclipseLink tests pass: persist, rollback, factory close, concurrent entity managers
  • Build succeeds with no compilation errors

🤖 Generated with Claude Code

kawasima and others added 4 commits March 29, 2026 00:00
EclipseLink 5.0.0 GA (released 2026-03-23) brings Jakarta Persistence
3.2 full compliance, JDK 21+ baseline, and performance improvements.
No source change
8000
s required — all internal APIs used by
EclipseLinkEntityManagerProvider remain compatible.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Switch from jakarta.persistence.spi.PersistenceUnitTransactionType
(deprecated for removal in Jakarta Persistence 3.2) to
jakarta.persistence.PersistenceUnitTransactionType.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace EclipseLink internal SEPersistenceUnitInfo with the standard
PersistenceConfiguration API introduced in Jakarta Persistence 3.2.

- Remove dependency on org.eclipse.persistence.internal package
- Remove obsolete persistence.xml (Java EE 1.0 namespace, incompatible
  with EclipseLink 5.0.0 schema validation)
- Persistence unit root URL is now auto-resolved by EclipseLink via
  StackWalker, eliminating manual URL computation
- managedClass(Class<?>) provides type-safe entity registration
  (no more Class::getName conversion)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@kawasima
kawasima merged commit e5575a6 into develop Mar 28, 2026
1 check passed
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.

1 participant

0