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
m (→JPA with JSF Web Application Tutorials) |
(→EclipseLink JPA Examples) |
||
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]] | ||
+ | ** How to define a custom ID generator | ||
+ | ** [[EclipseLink/Examples/JPA/Collectionordering | How to maintain collection ordering]] | ||
** [[EclipseLink/Examples/JPA/Inheritance | How to define inheritance]] | ** [[EclipseLink/Examples/JPA/Inheritance | How to define inheritance]] | ||
Revision as of 14:49, 13 May 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.
Contents
EclipseLink JPA Examples
- Mapping
- How to use an EclipseLink ORM.XML Mapping file
- How to configure primary key generation
- How to define a custom ID generator
- How to maintain collection ordering
- How to define inheritance
- Querying
- Java SE Examples
- Employee Examples
- GeoNames Example (under development bug 227113)
- Rich Client Platform (RCP)
- Spring JPA
- Advanced
- Dynamic JPA Example: Example extension for JPA without Java classes and XML
Tutorials
JPA with JSF Web Application Tutorials
Container | Version | Issues |
---|---|---|
Oracle OC4J | 10.1.3 / 11.1.1 | - |
JBoss | 4.2.2 | Dynamic weaving is disabled due to (JIRA-572) - see static weaving workaround |
BEA WebLogic | V10.0 | - |
BEA WebLogic | V10.3 (beta)TP | Deployment issues with non-Kodo JPA providers in bug#231641 |
GlassFish | V2.1 | Requires GlassFish V2.1 build 32 |
GlassFish | V3 | |
IBM WebSphere | - | - |
IBM WebSphere CE / Apache Geronimo | - | - |
Migrating to EclipseLink
These how-to's focus on migrating from previous editions of TopLink and other JPA providers to using EclipseLink.
- How to migrate from TopLink Essentials
- How to migrate from Oracle TopLink JPA (11gR1)
- How to migrate from Oracle TopLink's native ORM
Database Platform Extensions
- Oracle: Spatial, VPD/OLS, TIMESTAMP, XDB
Using Native ORM through JPA Examples
These examples focus on using EclipseLink JPA with native extensions
- How to configure
- How to use native metadata
- How to access EclipseLink's native API through JPA
- How to optimize queries using batch and join reading
Native Object-Relational Examples
These examples focus on the usage of EclipseLink's native object-relational APIs and meta-data
- Basic Usage
- Extended Database Features
- How to handle nonJDBC arguments to Oracle Stored Procedures
- How to use Oracle Spatial - TBD
- How to do pagination - TBD