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/MOXy/JPA

< EclipseLink‎ | Examples‎ | MOXy
Revision as of 10:37, 12 January 2010 by Unnamed Poltroon (Talk) (Converting JPA entities to/from XML (via JAXB))

Converting JPA entities to/from XML (via JAXB)

JPA provides an easy and powerful means to use Java objects to interact with a relational database. These Java objects are called entities, and have their own characteristics. Some of these characteristics (bidirectional relationships, compound keys, embedded key classes, and lazy loading) can cause challenges when mapping these objects to XML. This example demonstrates how to overcome these challenges using EclipseLink MOXy (JAXB):

Back to the top