Generating Persistence Mappings
Once you have enabled JPA or Hibernate support and created persistence units or session factories, you can define mapping between the Java objects and data sources.
To map java objects to a data source
- In the Persistence tool window, expand the desired module node.
- Right-click the desired persistence unit or session factory to generate mappings for, and choose on the context menu.
- On the submenu, select the desired schema. You can opt to generate persistence mapping by:
Last modified: 14 July 2015