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) TopLink 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:

  • "Building Blocks of a TopLink Project" in Understanding Oracle TopLink

  • "Using an External Metadata Source" in Solutions Guide for Oracle TopLink