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


exclude-eclipselink-orm

Use eclipselink.exclude-eclipselink-orm to exclude an EclipseLink ORM mapping file for a specific persistence unit.


Values

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

Table 5-35 Valid Values for exclude-eclipselink-orm

Value Description

true


false

(Default) EclipseLink uses the eclipselink-orm.xml file.



Usage

By default the first file found at the resource name: META-INF/eclipselink-orm.xml is processed and overrides configurations specified in annotations and standard mapping files.


Examples

Example 5-24 Using exclude-eclipselink-orm in persistence.xml

<property name="eclipselink.exclude-eclipselink-orm" value="true"/>


See Also

For more information, see: