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 11:23 Go to next message
David Vree is currently offline David Vree
Messages: 45
Registered: July 2010
Member
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:

xml-mapping-metadata-complete="true"

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 14: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 10:51 Go to previous message
Blaise Doughan is currently offline Blaise Doughan
Messages: 163
Registered: July 2009
Senior Member

I have posted a reply to your other question:

http://www.eclipse.org/forums/index.php/m/789940/#msg_789940
Previous Topic:How does EclipseLink use equals() and hashCode()?
Next Topic:Retrieve storedprocedure messages using JPA
Goto Forum:
  


Current Time: Sat Aug 23 13:34:47 EDT 2014

Powered by FUDForum. Page generated in 0.01546 seconds