Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 330400

Summary: Generate Entities from table doesn't check for readonly persistence.xml file
Product: [WebTools] Dali JPA Tools Reporter: Ram Venkataswamy <ram.venkataswamy>
Component: JPAAssignee: Nan Li <nan.n.li>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: danny.ju, neil.hauge
Version: unspecified   
Target Milestone: Future   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Ram Venkataswamy CLA 2010-11-16 14:54:55 EST
Build Identifier: M20100909-0800

"Generate Entities from table" should alert in case persistence.xml is a readonly file - useful while the project is imported from source control (Ex: Perforce)

Reproducible: Always

Steps to Reproduce:
- import a JPA project from source control

NOTE: By default the persistence.xml file will be marked readonly

- now, run through "Generate entities from tables" 

the wizard fails to update persistence.xml file / notify the state to user
Comment 1 Neil Hauge CLA 2011-07-01 16:24:35 EDT
Moving JPA specific bugs to new JPA component in bugzilla.
Comment 2 Neil Hauge CLA 2011-10-07 12:51:57 EDT
Targeting to Juno release.