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.
EclipseLink/Examples
This page will serve as an index into examples developers can easily leverage to accomplish common tasks with EclipseLink. Be sure to review the EclipseLink User's Guide for complete information on using EclipseLink.
Source code to several of these examples, and to other examples can be found in EclipseLink's SVN repository, here, or accessed through SVN, or downloads.
Foundation Examples
JPA (Object-Relational) Examples
- How to Configure JPA
- Using the EntityManager API
- Using EclipseLink JPA in RCP
- How to migrate to EclipseLink JPA from other persistence solutions
- Accessing Relational Data as SDO DataObjects using JPA
- Case Study: Distributed JPA based Application
- JPA 2.0 Examples
- More JPA Examples...
MOXy (Object-XML) Examples
- Getting Started
- Using EclipseLink JAXB
- Meet in the Middle Mapping
- Using EclipseLink MOXy's XML Mapping (eclipselink-oxm.xml)
- Dynamic JAXB
- Map JPA entities to XML
- Converting POJOs to/from SDO DataObjects using the POJO/SDO Bridge (via JAXB)
- Creating a Native OXM aware JAXBContext
- More MOXy Examples...
SDO Examples
- Convert an XML Schema to SDO Metadata
- Using Dynamic DataObjects
- Using Dynamic DataObjects to Manipulate XML
- Running the SDO Compiler - Generating Type Safe DataObjects
- Using Type Safe DataObjects to Manipulate XML
- Converting POJOs to/from SDO DataObjects using the POJO/SDO Bridge
- Accessing Relational Data as SDO DataObjects using JPA
- More SDO Examples...
DBWS Examples
- EclipseLink DBWS Overview
- Creating a EclipseLink DBWS service based on Database Table
- Creating a EclipseLink DBWS service based on a Stored Procedure
- Creating a EclipseLink DBWS service based on a result set from custom SQL
SELECT
statements - More DBWS Examples...