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 serves as an index into examples developers can easily leverage to accomplish common tasks with EclipseLink. Be sure to review the EclipseLink Documentation Center for complete information on using EclipseLink.
Source code to several of these examples, and to other examples can be found in EclipseLink's examples GIT repository, here and SVN repository, here, or accessed through SVN, or downloads.
Contents
Foundation Examples
- How do I integrate with a third party logging framework?
- How do I map Persistence Entities without Java classes?
- More 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
- JPA 2.0 Examples
- JPA 2.1 Examples
- More JPA Examples...
NoSQL Examples
MOXy (Object-XML) Examples
- Getting Started
- Using EclipseLink JAXB
- Using Bean Validation in JAXB (NEW in 2.6)
- 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...
OSGi Examples
EclipseLink OSGi support is provided by the Eclipse Gemini JPA project. See the Gemini documentation for examples.