Community
Participate
Working Groups
If you remove the persistence unit from the persistence.xml the java and orm.xml files should no longer have anything structure in the JPA structure view. If you were to close and reopen eclipse this is what you would see, and if you then add the persistence unit back you see the structure reappear. If you try to edit the source for either the orm.xml or the java you will not see updates to the jpa details or structure view if you are in this state without the persistence unit.
Created attachment 104567 [details] proposed patch - HEAD Simple fix to dispose() the PersistenceUnit when it is removed, added some tests for this case as well
checked patch in to HEAD, not branch yet for 2.0.1
Verified in wtp-sdk-R-3.0.1-20080818032401.