Jump to: navigation, search

Difference between revisions of "EclipseLink/UserGuide/JPA/Basic JPA Development/Mapping"

Line 4: Line 4:
 
|eclipselink=y
 
|eclipselink=y
 
|eclipselinktype=JPA
 
|eclipselinktype=JPA
 +
|nativeapi=y
 +
|nativeapi=
 +
*[[EclipseLink/Examples/JPA/EclipseLink-ORM.XML|EclipseLink-ORM.XML]]
 
|examples=y
 
|examples=y
 
|example=
 
|example=
 
*[[EclipseLink/Examples/JPA/EclipseLink-ORM.XML|EclipseLink-ORM.XML]]
 
*[[EclipseLink/Examples/JPA/EclipseLink-ORM.XML|EclipseLink-ORM.XML]]
*[[EclipseLink/Examples/JPA/PrimaryKey|Configure Primary Key Generation]]
 
*[[EclipseLink/Examples/JPA/CustomSequencing|Configure Custom Sequencing]]
 
*[[EclipseLink/Examples/JPA/Inheritance|Define Inheritance]]
 
 
*[[EclipseLink/Examples/JPA/EnumToCode|Map Enum to Coded Values]]
 
*[[EclipseLink/Examples/JPA/EnumToCode|Map Enum to Coded Values]]
*[[EclipseLink/Examples/JPA/EnumListMapping|List<Enum> Mapping]]
+
*[[EclipseLink/Examples/JPA/2.0/Employee|Example JPA 2.0 Employee model]]
*[[EclipseLink/Examples/JPA/Collectionordering|Collection Order Preservation (JPA 1.0)]]
+
*[[EclipseLink/Examples/JPA/2.0/MapKeyColumns|How to use Map key columns to map complex Maps]]
 +
*[[EclipseLink/Examples/JPA/2.0/DerivedIdentifiers|How to use derived identifiers to map composite Ids through ManyToOne relationships]]
 +
*[[EclipseLink/Examples/JPA/2.0/ElementCollections|How to map collections of Basic or Embeddable values using an ElementCollection mapping]]
 +
*[[EclipseLink/Examples/JPA/2.0/OrderColumns|How to maintain order in a List relationship using an OrderColumn]]
 +
*[[EclipseLink/Examples/JPA/EmployeeXML|Employee Examples using EclipseLink ORM.XML]]
 
*[[EclipseLink/Examples/JPA/MappingSelectionCriteria|Mapping Selection Criteria]]
 
*[[EclipseLink/Examples/JPA/MappingSelectionCriteria|Mapping Selection Criteria]]
*[[EclipseLink/Examples/JPA/History|Tracking Changes Using History Policy]]
 
 
}}  
 
}}  
  

Revision as of 10:23, 27 October 2011

EclipseLink JPA


Configuring Mappings

To map entity classes to relational tables you must configure a mapping per persistent field. The following sections describe EclipeLink's JPA mapping types:

Eclipselink-logo.gif
Version: 2.2.0 DRAFT
Other versions...