Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 05:51 Go to next message
Amar Pali is currently offline Amar PaliFriend
Messages: 1
Registered: February 2022
Junior Member
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 14:22 Go to previous message
Radek Felcman is currently offline Radek FelcmanFriend
Messages: 19
Registered: March 2021
Junior Member
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: Thu Apr 25 14:42:28 GMT 2024

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

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

Back to the top