Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311638 - persistence.xml editor remains open after JPA facet is removed from project
Summary: persistence.xml editor remains open after JPA facet is removed from project
Status: VERIFIED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: JPA (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 M3   Edit
Assignee: Karen Butzke CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-04 17:53 EDT by Brian Vosburgh CLA
Modified: 2012-12-05 13:18 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Vosburgh CLA 2010-05-04 17:53:01 EDT
- Create a JPA project with a persistence.xml file.

- Open an editor on the persistence.xml file.

- Open the project's Properties dialog and uncheck the JPA facet on the Project Facets properties page. Click OK.

- Note the JPA editor for the persistence.xml file is still open and gives the appearance that the JPA project is still present. If you close this editor and double-click on the same persistence.xml file again, a simple XML-ish editor opens.
Comment 1 Neil Hauge CLA 2011-07-01 16:24:45 EDT
Moving JPA specific bugs to new JPA component in bugzilla.
Comment 2 Karen Butzke CLA 2012-11-02 14:22:30 EDT
fixed for M3
Comment 3 Jolene Moffitt CLA 2012-12-05 13:18:33 EST
Verified in build I-3.5.0-20121129071957 that when you update a JPA project and remove the JPA facet, if the persistence.xml file is opened it is updated correctly and you do not have to close and reopen the file.  To view steps to verify this issue go to http://wiki.eclipse.org/Dali_3.3_M3_Release