You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: persistence/jpa/adoc/modules/ROOT/pages/weaving.adoc
+5-9Lines changed: 5 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,9 +21,7 @@ To enable static weaving, set xref:refguide:config:sections/eclipselink.adoc#ecl
21
21
eclipselink.weaving=static
22
22
----
23
23
24
-
WARNING: The ability to set `static` as a value is currently broken in 2.0.0/3.0.0; but a fix is available in the xref:comguide::nightly-builds.adoc[].
25
-
26
-
In addition, add the following to the `pom.xml` of all modules that contain JPA entities:
24
+
In addition, add the link:https://github.com/ethlo/eclipselink-maven-plugin[eclipselink-maven-plugin] to the `pom.xml` of all modules that contain JPA entities, specifying the base package(s) to be weaved.:
27
25
28
26
[source,xml]
29
27
.pom.xml
@@ -42,7 +40,9 @@ In addition, add the following to the `pom.xml` of all modules that contain JPA
@@ -62,10 +62,6 @@ NOTE: Thanks for the contribution via link:https://the-asf.slack.com/archives/CF
62
62
[#runtime]
63
63
== Dynamic (Runtime) Weaving
64
64
65
-
66
-
WARNING: This is currently broken in 2.0.0/3.0.0.
67
-
The workaround is to use xref:#compiletime[static] weaving instead.
68
-
69
65
The xref:docs:starters:simpleapp.adoc[SimpleApp] and xref:docs:starters:helloworld.adoc[HelloWorld] starter apps demonstrate the dynamic agent approach.
70
66
71
67
To enable runtime weaving, set xref:refguide:config:sections/eclipselink.adoc#eclipselink.weaving[eclipselink.weaving]:
@@ -82,7 +78,7 @@ It's also necessary to run the application with the `spring-instrument.jar` Java
0 commit comments