JAXB provider Eclipselink MOXy ignores @XmlAccessorType(XmlAccessType.NONE)?

I have been able to verify this issue, the following bug has been entered to track this issue.

I have been able to verify this issue, the following bug has been entered to track this issue. Https://bugs.eclipse. Org/334681 Issue summary: For the following object model: import javax.xml.bind.annotation.

XmlAccessType; import javax.xml.bind.annotation. XmlAccessorType; @XmlAccessorType(XmlAccessType. NONE) public class Foo { private Bar bar; public Bar getBar() { return bar; } public void setBar(Bar bar) { this.

Bar = bar; } } and: public class Bar { public Bar(String name) { } } The EclipseLink MOXy JAXB implementation is processing the Bar class although it should not be, because it is not mapped.

Thanks for the response, I hoped it's not a bug, just my mistake as I need it :) – Zdenek F Jan 18 at 22:11 We will have a fix soon. Which version of EclipseLink are you using? – Blaise Doughan Jan 18 at 22:14 2.1.2; I guess 2.3.0-SNAPSHOT could do the magic soon?

:) – Zdenek F Jan 19 at 9:08 The fix has been checked in and can be obtained from the EclipseLink 2.3.0 nightly downloads starting tomorrow (January 20): eclipse. Org/eclipselink/downloads/nightly. Php – Blaise Doughan Jan 19 at 15:57 that snapshot had some other issues for me, but now it's working.

However, I found some other problems which I've already reported in Bugzilla. – Zdenek F Jan 180 at 16:49.

The fix do not seem to work. Also, the same issue appears if you have a @XmlTransient field. The same fix above should be applied to the case with @XmlTransient fields.

It's possible it's been broken again :) I'll check my code if it works. – Zdenek F Mar 7 at 22:32.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions