| Summary: | Annotation with invalid syntax causes Persistence Properties view not to populate | ||
|---|---|---|---|
| Product: | [WebTools] Dali JPA Tools | Reporter: | Karen Butzke <karenfbutzke> |
| Component: | General | Assignee: | 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: | |||
jdt dependency was fixed, so this is now fixed |
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