Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 316483

Summary: JAXB Externalized Metadata: Issues with XmlAccessorType NONE and xml metadata
Product: z_Archived Reporter: David McCann <david.mccann>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: matt.macivor
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Fix and test case none

Description David McCann CLA 2010-06-10 11:20:32 EDT
If access type is set to 'NONE' (indicating only annotated properties are processed) and a property is configured in XML that is not annotated, the property is not processed, and we get the following warning:

[EL Warning]: 2010-06-10 11:01:11.778--Ignoring attribute [myAttribute] on class [org.example. Employee] as no Property was generated for it.

We need to generate a property in this case if annotations processor did not.
Comment 1 Matt MacIvor CLA 2010-06-17 11:17:39 EDT
Created attachment 172133 [details]
Fix and test case
Comment 2 Matt MacIvor CLA 2010-06-24 14:45:14 EDT
Fix backported to 2.1 stream
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:34:35 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink