Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346461 - Can't override a property level transient annotation in bindings file
Summary: Can't override a property level transient annotation in bindings file
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-19 10:49 EDT by Denise Smith CLA
Modified: 2022-06-09 10:23 EDT (History)
1 user (show)

See Also:


Attachments
Proposed changes and test updates (9.88 KB, patch)
2011-05-19 11:47 EDT, Denise Smith CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Denise Smith CLA 2011-05-19 10:49:21 EDT
If a property is marked transient with annotations ie:
    @XmlTransient
    public String phoneNumber; 

the if the following is in the bindings file 
<java-attributes>
    <xml-element java-attribute='phoneNumber'/>

phoneNumber should be non-transient.
Comment 1 Denise Smith CLA 2011-05-19 11:47:49 EDT
Created attachment 196132 [details]
Proposed changes and test updates
Comment 2 Denise Smith CLA 2011-05-19 13:14:51 EDT
Fixed to handle the described case.  Now in AnnotationsProcessor we build properties and mark them transient (so they are available to XMLProcessor to override if needed) instead of non building them.
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:23:59 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink