Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 332265 - Extra named query listed in the properties view for the Query attribute
Summary: Extra named query listed in the properties view for the Query attribute
Status: RESOLVED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: General (show other bugs)
Version: 2.3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0 M7   Edit
Assignee: Pascal Filion CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-09 20:05 EST by Raghunathan Srinivasan CLA
Modified: 2011-04-06 17:55 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 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.