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

Bug 130794

Summary: Annotation with invalid syntax causes Persistence Properties view not to populate
Product: [WebTools] Dali JPA Tools Reporter: Karen Butzke <karenfbutzke>
Component: GeneralAssignee: Neil Hauge <neil.hauge>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 130778    
Bug Blocks:    

Description Karen Butzke CLA 2006-03-07 15:04:26 EST
Open the Persistence Perspective and create an Entity:

@Entity(name="Foo")
public class MyEntity {}

Notice the Persistence Properties View and how it is populated with MyEntity being an Entity.  In the source code backspace over the name="Foo" until the source code is this:

@Entity(name=)
public class MyEntity {}

Now the Persistence Properties View changes and thinks that MyEntity does not have an Entity annotation on it.  This makes the UI look rather flaky since it would switch panels as you are typing in the source code.  As soon as you erase the '=' the Persistence Properties View is again populated with an Entity
Comment 1 Karen Butzke CLA 2008-02-14 15:10:04 EST
jdt dependency was fixed, so this is now fixed