Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314160 - Association override label goes blank when editing in source
Summary: Association override label goes blank when editing in source
Status: NEW
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: JPA (show other bugs)
Version: 2.3   Edit
Hardware: PC Windows Vista
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Neil Hauge CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-24 16:16 EDT by Paul Fullbright CLA
Modified: 2011-07-01 16:24 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Fullbright CLA 2010-05-24 16:16:19 EDT
start with the following:

@MappedSuperclass
public class MappedSuperclassType {
	
	@OneToOne
	private EntityType entity;

	@OneToOne
	private EntityType entity2;
}

@Entity
public class EntityType extends MappedSuperclassType {

}


Check the Attribute Overrides UI and see that there are two implied overrides:  entity and entity2.

Type the following in to source:

@AssociationOverride(name="entity")


Check the UI again, and see that the implied override for entity2 is gone.  It's there, actually, but the label appears to be blank.

Not reproducible always, but seems to happen mostly on first try.
Comment 1 Neil Hauge CLA 2011-07-01 16:24:40 EDT
Moving JPA specific bugs to new JPA component in bugzilla.