This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | @Embedded should not be marked (with the red squiggley) indicating compilation error. | ||
---|---|---|---|
Product: | javaee | Reporter: | varunrupela <varunrupela> |
Component: | Persistence | Assignee: | Andrei Badea <abadea> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 5.x | ||
Hardware: | Other | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 95534 | ||
Bug Blocks: | |||
Attachments: | unzip the sample attached. |
Description
varunrupela
2006-11-29 05:56:46 UTC
Created attachment 36346 [details]
unzip the sample attached.
Just to clarify: we use the same error icon to denote a compilation, deployment and a runtime error. We are talking about deployment errors here. The problem is that some of our checks are taking into account annotations only rather than the merged annotation/XML descriptor model. The proper fix is to always use the merged model. In this particular case we should be showing an error if the class is *neither* annotated as @Embeddable *nor* set to be embeddable in orm.xml. This is a pretty old bug. I just opened the attached project and did not see the red squiggley any more. Must have got fixed with other things. Mark it as "FIXED" |