Java Persistence API (JPA) Extensions Reference for EclipseLink, Release 2.4
  Go To Table Of Contents
 Search
 PDFComments
Comments


weaving.internal

Use eclipselink.weaving.internal to specify if EclipseLink uses internal optimizations through weaving.


Values

Table 5-96 describes this persistence property's values.

Table 5-96 Valid Values for weaving.internal

Value Description

true

(Default) Enables internal optimizations through weaving.

false

Disables internal optimizations through weaving.



Usage

You can use this extension only if weaving is configured to true or static. See "weaving" for more information.


Examples

Example 5-102 shows how to use this persistence property extension in the persistence.xml file.

Example 5-102 Using weaving in persistence.xml

<property name="eclipselink.weaving.internal" value="false"/>

Example 5-103 shows how to use this extension in a property map

Example 5-103 Using weaving in a Property Map

import org.eclipse.persistence.config.PersistenceUnitProperties;propertiesMap.put(PersistenceUnitProperties.WEAVING_INTERNAL, "false");


See Also

For more information, see: