The Eclipse IDE provides a JPA diagram editor tool that allows you to create, edit, and display the application data model (entities and their relationships) in a graphical environment.
You can use only one JPA diagram per project, and you cannot visualize entities from different projects in one JPA diagram.
Example:
The following JPA diagram represents the data model of employees participating in various projects, that is, two entities with a bidirectional many-to-many relationship:
The JPA diagram editor comprises the following general features:
Ability to create entities and define relationships between them.
Ability to import existing entities together with their relationships.
Full synchronization with the underlying application code, that is, whenever you apply a change to any of the objects on the diagram, the corresponding application code updates automatically, and the opposite.
Error and warning markers with informative quick info text. You can view details on the marked errors and warnings in the Problems view.
Integration with the JPA Details view and the Miniature View.