Persistence Tool Window
The Persistence tool window shows your project items pertaining to JPA and Hibernate.
At the top hierarchical level are JPA- and Hibernate-enabled modules. One level below are configuration files, persistence units and session factories. Further down in the hierarchy are mapping files, persistent classes, etc.
The tool window lets you create new items such as configuration files and persistent classes, navigate to related source code in the editor, open diagrams and consoles, and more.
Title bar icons
|Select a persistence unit or session factory (or any of the subordinate elements) and click this icon to open the JPA or Hibernate console. See also, Working with the JPA Console and Working with the Hibernate Console.|
|Click this icon to expand all the nodes.|
|Click this icon to collapse all the nodes.|
|ER Diagram||For a persistence unit or session factory: use this command to open an ER diagram for the selected persistence unit or session factory.|
|Console (N/A)||For a persistence unit or session factory: use this command to open the JPA or Hibernate console for the selected persistence unit or session factory. See also, Working with the JPA Console and Working with the Hibernate Console.|
|Assign Data Sources||For a persistence unit or session factory: use this command to associate the selected persistence unit or session factory with a database or DDL data source. See also, Associating Data Sources with Session Factories and Persistence Units.|
|Assign Naming Strategies||For a session factory: use this command to associate the selected session factory with a Naming Strategy implementation.|
|New||Use this command to create a new item such as a persistent class, or configuration or mapping file, etc.|
|Jump to Source (F4)||Use this command to open the selected file in the editor.|
|Generate Persistence Mapping||Use this command to generate persistent classes and metadata.|