Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "EclipseLink/UserGuide/JPA/2.4/schema"
< EclipseLink | UserGuide | JPA
m |
m |
||
Line 5: | Line 5: | ||
|category=JPA | |category=JPA | ||
|release=2.4.x | |release=2.4.x | ||
− | | | + | |titleTLJPA}} |
<span class="metaname"> </span> | <span class="metaname"> </span> | ||
Line 32: | Line 32: | ||
<span id="sthref571"></span> | <span id="sthref571"></span> | ||
− | [[Image:Elug_draft_icon.png|Warning]]Beta Draft: 2012-06- | + | [[Image:Elug_draft_icon.png|Warning]]Beta Draft: 2012-06-18 |
=<span class="secnum">5</span> eclipselink-orm.xml Schema Reference= | =<span class="secnum">5</span> eclipselink-orm.xml Schema Reference= |
Revision as of 14:19, 19 June 2012
', 2.4.x'
|
5 eclipselink-orm.xml Schema Reference
You can use EclipseLink's native metadata XML file, eclipselink-orm.xml
, to override mappings defined in the JPA configuration file (orm.xml
) and to provide extended ORM features.
Using the
|
The eclipselink-orm.xml
file defines object-relational mapping metadata for EclipseLink. It is built from the existing orm.xml
file which makes it more intuitive, requires minimum configuration, and makes it easy to override.
For more information, see:
- Section 12.2 "XML Overriding Rules" in the JPA Specification
-
http://wiki.eclipse.org/EclipseLink/UserGuide/JPA/Basic_JPA_Development/Configuration/JPA/orm.xml
The schema for EclipseLink is eclipselink_orm_X_X.xsd
where X_X is the current EclipseLink version number (such as 2_4
for 2.4). All EclipseLink schemas are available from http://wiki.eclipse.org/EclipseLink/XSDs
.
|
|
|