| Summary: | new JPA entity wizard exception if orm.xml or persistence.xml is read only | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] Dali JPA Tools | Reporter: | Karen Butzke <karenfbutzke> | ||||
| Component: | JPA | Assignee: | Nan Li <nan.n.li> | ||||
| Status: | NEW --- | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | neil.hauge | ||||
| Version: | 3.0 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Moving JPA specific bugs to new JPA component in bugzilla. |
Created attachment 197742 [details] stack trace 1. Start with a JPA project with an orm.xml file set to read-only. 2. Create a new JPA entity and select 'Add to entity mappings in XML' The orm.xml file will be modified but not saved. The attached exception is logged in the error log The same thing happens with the persistence.xml if the project is set to classes must be listed in the persistence.xml and you don't choose to add the class to the orm.xml