Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » How should static weaving be done in EclipseLink recent versions like 4.0.0(EclipseLink)
How should static weaving be done in EclipseLink recent versions like 4.0.0 [message #1864513] Wed, 20 March 2024 17:13 Go to next message
Alok Kumar is currently offline Alok KumarFriend
Messages: 2
Registered: March 2024
Junior Member
Hello my project uses EclipseLink as Jpa provider. My objective is to now use Java 17 and EclipseLink 4.0.0 but here I am getting an error class file for org.eclipse.persistence.internal.weaving.PersistenceWeavedRest not found

I tried looking into
1. https://wiki.eclipse.org/EclipseLink/UserGuide/JPA/Advanced_JPA_Development/Performance/Weaving/Static_Weaving and
2. https://github.com/empulse-gmbh/eclipselink-static-weave-plugin

which says this way is for Java 8 and EclipseLink 2.5.1 Moreover it uses a plug in

<groupId>de.empulse.eclipselink</groupId>
<artifactId>staticweave-maven-plugin</artifactId>
<version>1.0.0</version>
which is of 10 years ago and no updates. My project works fine with these versions but I have a requirement to upgrade to newer versions. So how should I proceed. How should I do the static weaving. Please help.
Re: How should static weaving be done in EclipseLink recent versions like 4.0.0 [message #1864529 is a reply to message #1864513] Thu, 21 March 2024 18:56 Go to previous messageGo to next message
Radek Felcman is currently offline Radek FelcmanFriend
Messages: 19
Registered: March 2021
Junior Member
See https://github.com/eclipse-ee4j/eclipselink/blob/4.0/jpa/eclipselink.jpa.test.jse/pom.xml
Re: How should static weaving be done in EclipseLink recent versions like 4.0.0 [message #1864538 is a reply to message #1864529] Fri, 22 March 2024 05:16 Go to previous message
Alok Kumar is currently offline Alok KumarFriend
Messages: 2
Registered: March 2024
Junior Member
Hello Thanks for the reply. This also uses <groupId>de.empulse.eclipselink</groupId>
<artifactId>staticweave-maven-plugin</artifactId>

is it still usable in Java 17 and EclipseLink 4.0.0 Also has EclipseLink removed org.eclipse.persistence.internal.weaving.PersistenceWeavedRest because this is the error I am getting that this class file is not found. When I try to see in older version, I find this Class but not in the latest version of EclipseLink. Do we have any alternative
Previous Topic:Delete operation calling update statement to make foreign key field to null
Next Topic:Eclipselink slow on merge - Register the existing object
Goto Forum:
  


Current Time: Sun Apr 28 16:22:09 GMT 2024

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

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

Back to the top