Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

EclipseLink/UserGuide/MOXy

Eclipselink-logo.gif

The EclipseLink MOXy (JAXB) User's Guide

Version 2.2.0


Contents

 

Mapping Relationships

Mapping Privately Owned Relationships

Mapping One-to-One Relationships

Mapping One-to-Many Relationships

Shared Reference Mappings

Mapping Single Key Relationships

Mapping Composite Key Relationships

Bidirectional Relationships

Advanced XML Schema Concepts

Handling Null Values

Choice Mappings

XMLChoiceObjectMapping

XMLChoiceCollectionMapping

Wildcard Content

Any Attribute Mapping

Any Element Mapping

Mapping the Unmappable

Converters

XML Transformations

XMLFragmentMapping

XMLFragmentCollectionMapping

Customizing Schemas

Generating Java Classes from an XML Schema

JAXB Compiler

Dynamic JAXB

Static vs. Dynamic MOXy

Specifying the EclipseLink Runtime

From an XML Schema

From a Single Project

From OXM using DynamicEntities

From sessions.xml using DynamicEntities

From Multiple Projects

From OXM using DynamicEntities

From sessions.xml using DynamicEntities

Mapping JPA Entities to XML

Properties

Bidirectional Relationships

Keys and Foreign Keys

Embedded Key Class

Web Services

JAX-WS Implementation

 


Old version 1.x Documentation

Back to the top