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

Bug 314160

Summary: Association override label goes blank when editing in source
Product: [WebTools] Dali JPA Tools Reporter: Paul Fullbright <paul.fullbright>
Component: JPAAssignee: Neil Hauge <neil.hauge>
Status: NEW --- QA Contact:
Severity: minor    
Priority: P3 CC: neil.hauge
Version: 2.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

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.