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
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 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:

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: Thu Apr 25 14:18:33 GMT 2024

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

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

Back to the top