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

Bug 130790

Summary: duplicate annotations added if one has a syntax error
Product: [WebTools] Dali JPA Tools Reporter: Karen Butzke <karenfbutzke>
Component: GeneralAssignee: Neil Hauge <neil.hauge>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 2.0 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 130778    
Bug Blocks:    

Description Karen Butzke CLA 2006-03-07 14:56:21 EST
Open the Dali Persistence perspective.
Create a class with the following source:

@Entity(name=)
public class Foo {}


In the Dali Persistence Properties view choose Map As:  Entity
The source will now appear like this:

@Entity(name=)
@Entity  //duplicate annotation
public class Foo {}

The same problem will occur with attribute mapping level annotations as well.
Comment 1 Karen Butzke CLA 2008-02-14 15:09:31 EST
jdt dependency was fixed, so this is now fixed