Synchronizing persistent classes in the persistence.xml file
After you create persistent classes, you can automatically add them to list of classes in their persistence unit in the persistence.xml file.
About this task
To automatically add all persistent classes in your JPA project to the persistence.xml file:
Procedure
- In the Package Explorer view, right-click the persistence.xml file.
- Select .