The following table lists the properties available in the Customization page of the persistence.xml Editor.
Properties of the Customization Page
Property | Description | Default |
---|---|---|
Weaving |
Specifies if weaving of the entity classes is performed. The EclipseLink JPA persistence provider uses weaving to enhance JPA entities for such properties as lazy loading, change tracking, fetch groups, and internal optimizations. Select from the following options:
|
Weave Dynamically |
Weaving Lazy |
Select this option to enable lazy weaving. |
True |
Weaving Fetch Groups |
Select this option to enable fetch groups through weaving. Set this option to false if:
Set this property to false for platforms where it is not supported. |
True |
Weaving internal |
True |
|
Weaving eager |
False |
|
Weaving Change Tracking |
Select this option to use weaving to detect which fields or properties of the object change. |
True |
Throw Exceptions |
Select this option to set EclipseLink to throw an exception or log a warning when it encounters a problem with any of the files listed in a persistence.xml file |
True |
Exception handler |
Select (or create) a Java class to handle exceptions. |
|
Session Customizer |
Select a session customizer class: a Java class that implements the |
|
Descriptor Customizer |
Select an EclipseLink descriptor customizer class–a Java class that implements the |
|
Validation only |
True |
|
Profiler |
|
NoProfiler |
Note: This page is not available for projects using the Generic platform. |