Skip Headers
Dali Java Persistence Tools User Guide
Release 3.2
Release 3.2
  PDF
PDF
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Managing the persistence.xml file
 
Next
Managing the orm.xml file
 

Synchronizing classes

As you work with the classes in your Java project, you will need to update the persistence.xml file to reflect the changes.

Use this procedure to synchronize the persistence.xml file:

  1. Right-click the persistence.xml file in the Project Explorer and select JPA Tools > Synchronize Class List.


    Note:

    Use this function if you selected Annotated classes must be listed in the persistence.xml option in the JPA Facet page. In general, you do not have to use this function within the container.


    Figure 3-36 Synchronizing the persistence.xml File

    This figure shows the JPA Tools > Synchronize Classes option.

    Dali adds the necessary <class> elements to the persistence.xml file.

  2. Use the persistence.xml Editor to continue editing the persistence.xml file.

Related reference

Related concepts