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 |
---|---|
|
|
|
(Default) EclipseLink uses the |
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:
"Building Blocks of a EclipseLink Project" in Understanding EclipseLink
"Using an External Metadata Source" in Solutions Guide for EclispeLink