moxy
Unable to get simple XmlAdapter to work
I\'m trying to get a XmlAdapter to a HashMap to work and I keep getting an exception. I followed this blog entry very closely, and I\'ve been over my code many times yet I don\'t see the issue.[详细]
2023-03-24 05:37 分类:问答XmlAdapter and XmlIDREF in moxy jaxb
I am trying to use MOXy JAXB to serialize a class A which looks like: @XmlAccessorType(XmlAccessType.NONE)[详细]
2023-03-24 03:52 分类:问答JAXB: Qualified attributes disables default namespace xmlns=""?
When I 开发者_开发问答use @XmlSchema(attributeFormDefault = XmlNsForm.QUALIFIED, ...) or@XmlAttribute(namespace = \"sample.com/y\", ...)[详细]
2023-03-23 01:39 分类:问答(moxy) jaxb marshaling and hibernate proxy objects
In the last couple of days I have tried to make support for XML marshalling/unmarshalling of a Hibernate model, using MOXy JAXB. Trying to do this, I have run into a problem with hibernates proxy obje[详细]
2023-03-22 22:47 分类:问答Cannot get EclipseLink MOXy to work
I\'m new to JAXB and I want to change the default namespace prefix using EclipseLink MOXy. My package-info.java has the following code lines:[详细]
2023-03-22 14:25 分类:问答Is there a possibility to hide the "@type" entry when marshalling subclasses to JSON using EclipseLink MOXy (JAXB)?
I\'m about to develop a JAX-RS based RESTful web service and I use MOXy开发者_C百科 (JAXB) in order to automatically generate my web service\'s JSON responses.[详细]
2023-03-14 10:18 分类:问答Can I use the JAXB2 Basics plugin with the MOXy JAXB implementation from EclipseLink? If not, is there an alternate?
Ultimately I want JAXB to generate hashCode and equals implementations. The JAXB2 Basics plugin does that and it works fine for the Metro JAXB implementation in the JDK but fails with MOXy.[详细]
2023-03-08 13:11 分类:问答Inconsistent unmarshalling with MOXy
I\'m using MOXy to unmarshal a relatively simple XML document, but I\'m getting inconsistent behavior. The document consists of two elements with basic information (a name and date) followed by a list[详细]
2023-03-07 07:36 分类:问答JAXB/MOXy: Do not call XmlElementWrapper setter when element missing?
I have a list setter on a class that\'s annotated with both @XmlElementWrapper(name = \"foos\") and @XmlElement(name = \"foo\").[详细]
2023-03-07 07:33 分类:问答JAXB Unmarshalling to entities error
I have an issue unmarshalling a xml stream to entities. My foreign keys never get set to an object with the proper primary key, they just get set to an emtpy object.[详细]
2023-02-28 02:07 分类:问答