|MOXy: xml-mapping-metadata-complete problem [message #789123]
||Thu, 02 February 2012 16:23
| David Vree
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
Powered by FUDForum
. Page generated in 0.01920 seconds