EclipseLink/Examples/SDO/JAXB

From Eclipsepedia

Jump to: navigation, search

Contents

Overview

The JAXBHelperContext is a bridge between POJOs and SDO DataObjects. The bridge is based on their corresponding XML representations. For the POJOs the XML representation is specified using JAXB annotations or object-to-XML mappings.

Create the JAXBHelperContext

Define the SDO Metadata

Get the SDO Type for a POJO

Convert a POJO to a SDO DataObject

Convert a SDO DataObject to a POJO