Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » MOXy: xml-mapping-metadata-complete problem
MOXy: xml-mapping-metadata-complete problem [message #789123] Thu, 02 February 2012 16:23 Go to next message
David Vree is currently offline David VreeFriend
Messages: 48
Registered: July 2010
I have a particular JAXBContext that I am trying to establish that ignores all JAX-B annotations and only uses what mappings are in the OXM file. I have already set:


However I am seeing that properies with JAX-B annotations that were inherited from superclasses are still showing up in the XML/JSON encoding. I would have expected that no JAXB annotations would have been honored.

The superclass is in a different package from my class.

Edit: I tried providing an additional mapping file in the superclass's package with an empty java-type and it worked.

[Updated on: Thu, 02 February 2012 19:40]

Report message to a moderator

Re: MOXy: xml-mapping-metadata-complete problem [message #789941 is a reply to message #789123] Fri, 03 February 2012 15:51 Go to previous message
Blaise Doughan is currently offline Blaise DoughanFriend
Messages: 163
Registered: July 2009
Senior Member

I have posted a reply to your other question:
Previous Topic:How does EclipseLink use equals() and hashCode()?
Next Topic:Retrieve storedprocedure messages using JPA
Goto Forum:

Current Time: Sun Sep 27 18:00:43 GMT 2020

Powered by FUDForum. Page generated in 0.01863 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top