Skip to main content



      Home
Home » Eclipse Projects » EclipseLink » Migrating EclipseLink from 2.7.x to 3.0.2(Migrating EclipseLink from 2.7.x to 3.0.2)
Migrating EclipseLink from 2.7.x to 3.0.2 [message #1849796] Thu, 03 February 2022 00:51 Go to next message
Eclipse UserFriend
I wanted to upgrade eclipselink from 2.7.7 to 3.0.2. Can some please help me with details on steps required to do so? May be a migration guide for same

I tried upgrading the version to 3.0.2 and ran into compilation issue, looks like we have to add additional Jakarta dependency. which version of Jarata dependency is be added? 2.3.3 or 3.0.0

Thanks in advance
Re: Migrating EclipseLink from 2.7.x to 3.0.2 [message #1849815 is a reply to message #1849796] Thu, 03 February 2022 09:22 Go to previous message
Eclipse UserFriend
EclipseLink is "Jakartified"
For org.eclipse.persistence:eclipselink:3.0.1
is valid
jakarta.persistence:jakarta.persistence-api:3.0.0

In the application code change packages
javax.persistence -> jakarta.persistence
or
javax.xml.bind -> jakarta.xml.bind in case of JAXB (MOXy) usage

for persistence.xml example see attachment
Previous Topic:Downloading EclipseLink5.2.5 -> EclispeLink2.3.3 gives empty zip error
Next Topic:Join condition of INNER JOIN
Goto Forum:
  


Current Time: Wed Jul 30 13:37:45 EDT 2025

Powered by FUDForum. Page generated in 0.25277 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top