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/Examples/JPA"
< EclipseLink | Examples
(→Database Platform Extensions) |
|||
Line 19: | Line 19: | ||
* [[EclipseLink/Examples/JPA/EclipseLink-ORM.XML | How to use an EclipseLink ORM.XML Mapping file]] | * [[EclipseLink/Examples/JPA/EclipseLink-ORM.XML | How to use an EclipseLink ORM.XML Mapping file]] | ||
* [[EclipseLink/Examples/JPA/PrimaryKey | How to configure primary key generation]] | * [[EclipseLink/Examples/JPA/PrimaryKey | How to configure primary key generation]] | ||
− | |||
* [[EclipseLink/Examples/JPA/Inheritance | How to define inheritance]] | * [[EclipseLink/Examples/JPA/Inheritance | How to define inheritance]] | ||
* [[EclipseLink/Examples/JPA/EnumToCode | How to map an Enum type to coded values ]] | * [[EclipseLink/Examples/JPA/EnumToCode | How to map an Enum type to coded values ]] | ||
Line 26: | Line 25: | ||
* [[EclipseLink/Examples/JPA/PessimisticLocking | How to use pessimistic locking]] | * [[EclipseLink/Examples/JPA/PessimisticLocking | How to use pessimistic locking]] | ||
* [[EclipseLink/Examples/JPA/Pagination | How to page query results]] | * [[EclipseLink/Examples/JPA/Pagination | How to page query results]] | ||
− | |||
− | |||
=== Rich Client Platform (RCP) === | === Rich Client Platform (RCP) === | ||
Line 39: | Line 36: | ||
* [[EclipseLink/Examples/JPA/NativeMetadata | How to use native metadata]] | * [[EclipseLink/Examples/JPA/NativeMetadata | How to use native metadata]] | ||
* [[EclipseLink/Examples/JPA/QueryOptimization | How to optimize queries using batch and join reading]] | * [[EclipseLink/Examples/JPA/QueryOptimization | How to optimize queries using batch and join reading]] | ||
− | |||
− | |||
=== Advanced === | === Advanced === | ||
Line 82: | Line 77: | ||
|Apache Tomcat || 6 || No || - | |Apache Tomcat || 6 || No || - | ||
|} | |} | ||
+ | == Under Construction == | ||
+ | <div style="border:1px solid #999999;background-color:#ffffff;align:center"> | ||
+ | <table border="0" cellpadding="5" align="center"><tr><td width="20">[[image:Catnicon.gif]]</td><td>This section contains Examples and tutorials that are not yet complete.</td></tr></table> | ||
+ | </div> | ||
+ | === Mappings === | ||
+ | * [[EclipseLink/Examples/JPA/Collectionordering | How to maintain collection ordering]] | ||
+ | |||
+ | === Querying === | ||
+ | * [[EclipseLink/Examples/JPA/Projections | How to optimize searching using data projections]] | ||
+ | * [[EclipseLink/Examples/JPA/GraphLoading | How to optimize graph loading]] | ||
+ | * [[EclipseLink/Examples/JPA/NativeAPI | How to access EclipseLink's native API through JPA]] | ||
+ | |||
+ | === Java SE Examples === | ||
+ | * [[EclipseLink/Examples/JPA/Employee | Employee Examples]] | ||
+ | * [[EclipseLink/Examples/JPA/GeoNames | GeoNames Example]] (under development [http://bugs.eclipse.org/227113 bug 227113]) | ||
+ | |||
+ | === Database Platform Extensions === | ||
+ | * [[EclipseLink/Examples/JPA/Oracle | Oracle]]: Spatial, VPD/OLS, TIMESTAMP, XDB | ||
[[Category:JPA]] | [[Category:JPA]] |
Revision as of 12:07, 3 July 2008
The following examples are provided to assist developers with their adoption and usage of EclipseLink's JPA and native ORM functionality. See Developing JPA Projects in the EclipseLink User's Guide for details.
EclipseLink JPA Examples/Tutorials
Basic
Diagnostics
Mapping
- How to use an EclipseLink ORM.XML Mapping file
- How to configure primary key generation
- How to define inheritance
- How to map an Enum type to coded values
Querying
Rich Client Platform (RCP)
Spring JPA
Using Native ORM through JPA
Advanced
- Dynamic JPA Example: Example extension for JPA without Java classes and XML
Tutorials
JPA with JSF Web Application Tutorials
Container | Version | JEE Version | Issues |
---|---|---|---|
Oracle WebLogic Server | V10.0 | 5 | bea-wls-tools-2.0.2 pluggin working up to Eclipse Ganymede 3.4M5 |
Oracle WebLogic Server | V10.3 (beta)TP | 5 | Deployment issues with non-Kodo JPA providers in bug#231641 |
Oracle OC4J | 10.1.3 / 11.1.1 | 5 | - |
GlassFish | V2.1 | 5 | Requires GlassFish V2.1 build 32 |
GlassFish | V3 | 5 | |
JBoss | 4.2.2 | 5 | Dynamic weaving is disabled due to (JIRA-572) - see static weaving workaround |
SUN Application Server | 9.1 | 5 | - |
IBM WebSphere | 6.1 | 1.4 | - |
IBM WebSphere | 7.5 | 5 | - |
IBM WebSphere CE | 2.0.0.2 | 5 | - |
Apache Geronimo | 2.0.2 | 5 | - |
Apache Tomcat | 6 | No | - |
Under Construction
Mappings
Querying
- How to optimize searching using data projections
- How to optimize graph loading
- How to access EclipseLink's native API through JPA
Java SE Examples
- Employee Examples
- GeoNames Example (under development bug 227113)
Database Platform Extensions
- Oracle: Spatial, VPD/OLS, TIMESTAMP, XDB