Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

EclipseLink/UserGuide/JPA/Advanced JPA Development/Performance/Weaving/Dynamic Weaving



Warning This page is now obsolete.

For current information, please see "Using Weaving" in the EclipseLink Solutions Guide: http://www.eclipse.org/eclipselink/documentation/latest/solutions/testingjpa004.htm#CHDEECDB




EclipseLink JPA

Eclipselink-logo.gif
EclipseLink
Website
Download
Community
Mailing ListForumsIRCmattermost
Issues
OpenHelp WantedBug Day
Contribute
Browse Source


Configuring Dynamic Weaving

Use dynamic weaving to weave applicable class files one at a time, as they are loaded at run time. Consider this option when the number of classes to weave is few or when the time taken to weave the classes is short.

If the number of classes to weave is large or the time required to weave the classes is long, consider using static weaving.


To Configure Dynamic Weaving for JPA Entities Using the EclipseLink Agent

  1. Modify your application JVM command line to include the following:
    -javaagent:eclipselink.jar
  2. Ensure that the eclipselink.jar is in your application classpath.
  3. Package and deploy your application.

EclipseLink weaves applicable class files one at a time, as they are loaded at run time.


Eclipselink-logo.gif
Version: 2.2.0 DRAFT
Other versions...

Back to the top