Community
Participate
Working Groups
Build Identifier: org.eclipse.jpt.core_2.3.1.v201007232310.jar WTP/Dali has a refactoring participant which updates persistence.xml when an entity is renamed or moved to a new package. However, if you rename the package itself, there is no item for it in the preview, and persistence.xml is not updated. Reproducible: Always Steps to Reproduce: 1. Create JPA project 2. Create a new entity with a package 3. Add/ensure entity class in persistence.xml 4. Rename the package doesn't update the persistence.xml
We actually don't have any refactoring participants in 2.3.1. I just added this support in 3.0M1 (bug 209489), would love more testing of that work :). Refactor a package and update the persistence.xml is one of the use cases supported. In the refactoring preview dialog for the type rename do you have the 'Update fully qualified names in non-Java text files' checkbox checked? This would explain why it appears that Dali support the Refactor Rename in 2.3.1
Incorrect component;-)