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. |
Property | Description | Default |
---|---|---|
Session Options |
||
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, EclipseLink 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 |
Select the target database. You can also set the value to the fully qualified class name of a subclass of the Example: <property name="eclipselink.target-database" value="Oracle"/> |
Auto |
Target Server |
Select the target server for your JPA application. Example: <property name="eclipselink.target-server" value="OC4J_10_1_3"/> |
None |
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. |
True |
Miscellaneous Options |
||
Temporal mutable |
Specify if all Example: <property name="eclipselink.temporal.mutable" value="true"/> |
False |
Lock timeout |
5 |
|
Query timeout |
5 |
|
Validation mode |
Auto |
|
Validate pre-persist group |
||
Validate pre-update group |
||
Validate pre-remove group |
Related references
Java Persistence API (JPA) Extensions Reference for EclipseLink
http://www.eclipse.org/eclipselink/documentation/2.4/jpa/extensions/toc.htm