This table lists the properties of the Options page of the persistence.xml Editor.
Note: This page is not available for projects using the Generic platform. |
Properties of the Options Page
Property | Description | Default |
---|---|---|
Session Name |
Specify the name by which the EclipseLink session is stored in the static session manager. Use this option if you need to access the EclipseLink shared session outside of the context of the JPA or to use a pre-existing EclipseLink session configured through a EclipseLink Valid values: a valid EclipseLink session name that is unique in a server deployment. Example: <property name="eclipselink.session-name" value="MySession"/> |
|
Sessions XML |
Specify persistence information loaded from the EclipseLink session configuration file ( You can use this option as an alternative to annotations and deployment XML. If you specify this property, TopLink will override all class annotation and the object relational mapping from the Indicate the session by setting the Note: If you do not specify the value for this property, Valid values: the resource name of the sessions XML file. Example: <property name="toplink.session-xml" value="mysession.xml"/> |
|
Target Database |
||
Event Listener |
Specify a descriptor event listener to be added during bootstrapping. Valid values: qualified class name for a class that implements the Example: <property name="eclipselink.session-event-listener" value="mypackage.MyClass.class"/> |
|
Include Descriptor Queries |
Enable or disable the default copying of all named queries from the descriptors to the session. These queries include the ones defined using EclipseLink API, descriptor amendment methods, and so on. |