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

Bug 332265

Summary: Extra named query listed in the properties view for the Query attribute
Product: [WebTools] Dali JPA Tools Reporter: Raghunathan Srinivasan <raghunathan.srinivasan>
Component: GeneralAssignee: Pascal Filion <pascal.filion>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: neil.hauge
Version: 2.3.2   
Target Milestone: 3.0 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Raghunathan Srinivasan CLA 2010-12-09 20:05:51 EST
I added two Named queries in the source view, but see 3 listed in the property sheet. The extra query is a duplicate of the last query.
Comment 1 Raghunathan Srinivasan CLA 2010-12-09 20:08:50 EST
Closing and reopening the source file doesn't help. Also clicking on the extra entry is the cause of the exception reported in bug 233567
Comment 2 Pascal Filion CLA 2011-04-06 11:31:56 EDT
I was able to reproduce the problem with Dali 2.3.2 and 2.3.3 but with the following steps.

1. I had 3 @NamedQuery in @NamedQueries
2. I added @NamedQuery outside of @NamedQueries
3. I moved the @NamedQuery created in step 2 inside of @NamedQueries

I could not reproduce the problem in 3.0.
Comment 3 Neil Hauge CLA 2011-04-06 17:55:26 EDT
I think this was fixed with a recent change in this area.