Skip to main content

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.

Jump to: navigation, search

EclipseLink/Examples/SDO/JAXB

< EclipseLink‎ | Examples‎ | SDO
Revision as of 11:30, 30 January 2009 by Unnamed Poltroon (Talk) (Create the JAXBHelperContext)

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

The JAXBHelperContext is instantiated using a JAXBContext. This JAXBContext represents the object-to-XML mapping for the POJOs. If static DataObjects are being used, a second constructor is offered that takes a ClassLoader as a parameter.

For help on creating a JAXBContext see:

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

Back to the top