Skip to main content

Blaise Doughan: Removing JAXBElement From Your Domain Model

Blaise Doughan demonstrates Removing JAXBElement From Your Domain Model:

JAXBElement is a JAXB (JSR-222) mechanism that stores name and namespace information in situations where this can not be determined from the value or mapping. While useful, JAXBElement can get in the way if you want to use your domain model with something like JPA. In this post I will demonstrate how you can eliminate...