Jump to: navigation, search

EclipseLink/Examples/JPA/EclipseLink-ORM.XML

< EclipseLink‎ | Examples‎ | JPA
Revision as of 21:46, 28 March 2008 by Douglas.clarke.oracle.com (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

In EclipseLink 1.0 the new eclipselink-orm.xml mapping file is introduced (See bug 200040). This mapping file can be used in place of JPA's standard mapping file or can be used to override a JPA mapping file. In additional to allowing all of the standard JPA mapping capabilities it also includes advanced mapping types and options.

XML Configuration

The EclipseLink ORM schema (eclipselink_orm_1_0.xsd) can be used with the following header:


Configuring usage in persistence.xml

A persistence unit can use one or more of these mapping files in the same way a standard JPA ORM mapping XML file can be used. The default location of
/META-INF/orm.xml