Use eclipselink.weaving
to specify if EclipseLink weaves the entity classes. EclipseLink JPA uses weaving to enhance JPA entities for such things as lazy loading, change tracking, fetch groups, and internal optimizations.
Values
Table 5-94 describes this persistence property's values.
Table 5-94 Valid Values for weaving
Value | Description |
---|---|
|
Weave the entity classes dynamically. |
|
Do not weave the eneity classes. |
|
Weave the entity classes statically |
Examples
Example 5-98 shows how to use this persistence property extension in the persistence.xml
file.
Example 5-99 shows how to use this extension in a property map
Example 5-99 Using weaving in a Property Map
import org.eclipse.persistence.config.PersistenceUnitProperties;propertiesMap.put(PersistenceUnitProperties.WEAVING, "false");
See Also
For more information, see: