Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » eclipselink weaving is not working for lazy loading of entities(eclipselink weaving is not working for lazy loading of entities)
eclipselink weaving is not working for lazy loading of entities [message #1789939] Fri, 01 June 2018 05:35 Go to next message
Pradeep Kumar is currently offline Pradeep KumarFriend
Messages: 1
Registered: June 2018
Junior Member
Hi,
Getting heap dump generated at server logs (C:\temp\dataServer\wlp\usr\servers\dataServer) even configured the all the properties of EclipseLink weaving in the persistence.xml and got the below output on the browser screen, seems entities are not lazily loading

<property name="eclipse.weaving" value="static"/>
<property name="eclipselink.weaving.lazy" value="true"/>
<property name="eclipse.weaving.changetracking" value="true"/>
<property name="eclipselink.weaving.fetchgroups" value="true"/>
<property name="eclipselink.weaving.internal" value="true"/>
<property name="eclipselink.weaving.eager" value="false"/>

is there any other configuration needed apart from from above for enable the lazy loading at global level using eclipse link weaving technique?
Re: eclipselink weaving is not working for lazy loading of entities [message #1790255 is a reply to message #1789939] Thu, 07 June 2018 14:37 Go to previous message
Chris Delahunt is currently offline Chris DelahuntFriend
Messages: 1300
Registered: July 2009
Senior Member
How are you executing the static weaver on your classes, and have you checked you included those modified java class files in your project deployment?
See https://wiki.eclipse.org/EclipseLink/UserGuide/JPA/Advanced_JPA_Development/Performance/Weaving/Static_Weaving for how to run the static weaver
Previous Topic:NoSuchMethodError: _persistence_checkFetched(Ljava/lang/String;)V on adding some spring jars
Next Topic:Disable database change notification type
Goto Forum:
  


Current Time: Mon Sep 24 21:30:43 GMT 2018

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

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

Back to the top