I am using EclipseLink 2.5.1 on Tomcat 8. Tried to static weave jars, but got error at run time.
java.lang.NoSuchMethodError: mypackage.Employee._persistence_checkFetchedForSet(Ljava/lang/String;)V
at mypackage.Employee.setAddress(Employee.java)
Employee extends a super class that is annotated with @MappedSuperclass. The superclass is in a different jar. I tried to weave the jar, the superclass with @MappedSuperclass was not woven.
If I disable static weaving, dynamic weaving is not supported in Tomcat. all lazy properties will become eager fetch. Is there a way to control the fetch graph? Fetch graph is to fetch lazy properties, can not make eager properties to be lazy.
Thanks.