Beta Draft: 2012-09-11

New EclipseLink Mapping File dialog

Specify the location and properties of the EclipseLink mapping file (eclipselink-orm.xml).

Property Description

Project

Select the project in which to add the mapping file.

Source folder

Click Browse and select the source file in which to add the mapping file. The default is ../<PROJECT>/src.

File path

Enter the filename and path of the mapping file. The default is META-INF/eclipselink-orm.xml.

Default access

Select whether the entity's access to instance variables is field-based or property-based, as defined in the JPA specification.

Add to persistence unit

Specify if this mapping file should be added to the persistence unit (persistence.xml).

  Persistence Unit

Select the persistence unit in which to add the mapping file.


Related reference