| Item | Description |
|---|---|
| Descriptors | Use this section to manage and edit the configuration descriptors. For Hibernate, you can create
Hibernate descriptors of the type hibernate.cfg.xml in the specified
locations.
For JPA you can create the files persistence.xml and orm.xml. |
(Alt+Insert) | Use this icon or shortcut to create a new descriptor. |
(Enter) | Use this icon or shortcut to change the selected descriptor. |
(Alt+Delete) | Use this icon or shortcut to remove the selected descriptor. |
| Data Source Mappings | Use this section to map session factories or persistence units to the
data sources configured in your workspace.
Mapping to data sources works differently for Hibernate and JPA facets:
In the Data Source column, double-click a line and select the desired data source from the drop-down list. |
| Validate Model on Compilation | Select this check box to perform validation. |
| Default JPA Provider |
This control is available for JPA facet only. Select the JPA provider that will be used to generate mappings. The possible options are: Hibernate, OpenJPA, and TopLink. If a provider is not specified, all the supported providers are used. |
(
(
(