| Summary: | NullPointerException: Add entity to XML | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] Dali JPA Tools | Reporter: | Nan Li <nan.n.li> | ||||
| Component: | General | Assignee: | Karen Butzke <karenfbutzke> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | jolene.moffitt, neil.hauge | ||||
| Version: | unspecified | Flags: | neil.hauge:
review+
|
||||
| Target Milestone: | 3.0.1 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | fix_ready | ||||||
| Attachments: |
|
||||||
|
Description
Nan Li
The key to reproducing this bug is that you have to make one of the fields an id field. Created attachment 197767 [details]
proposed patch against head
This patch changes the JPA project synchronizers to be synchronous when editing the orm.xml file. This allows the model to be fully updated when one change is made before another change is made. This is necessary when changing the model in code.
checked in to HEAD for 3.0.1 Verified in Build I-3.4.0-20110731180834 Verified you can create an entity with an id attribute and add it to the orm.xml mapping file without error. See the link to view test steps for verification. http://wiki.eclipse.org/Dali_3.0.1 |