Community
Participate
Working Groups
There is an issue when using @XmlIDREF with XmlAdapter. The issue is that if the adapted object makes use of @XmlIDREF, the @XmlIDREF will not have been processed at the time the XmlAdapter logic is run.
Created attachment 200721 [details] Code demonstrating the bug
Re-targeting to "Future" for consideration in another release. Core Issue: The core issue is determining the order in which XmlAdapters should be applied. If the value object has an @XmlIDREF annotation then we may need to delay the conversion until after the references have been resolved. Additional Use Cases: In addition to the issue demonstrated in the attached code we need to decide what to do when an adapted object contains both an @XmlID and @XmlIDREF.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink