IntelliJ IDEA 14.0.0 Web Help

Hibernate and JPA Facet Pages

For instructions on accessing this page, see Adding and Removing Facets or Changing Facet Settings.


Use this page to manage configuration files such as hibernate.cfg.xml, persistence.xml and orm.xml, and to download missing libraries.

Item Description
Descriptors Use the controls in this section to manage configuration files such as hibernate.cfg.xml for Hibernate, or persistence.xml and orm.xml for JPA.

add (Alt+Insert). Use this icon or shortcut to create a new file. In the dialog that opens, specify the file location and name.

edit1 (Enter). Use this icon or shortcut to replace the selected file with another (existing) configuration file. In the dialog that opens, specify the file that you want to use as a replacement.

delete (Alt+Delete). Use this icon or shortcut to remove the selected file from the list. In the dialog that opens, specify whether you want to physically delete the file. (Otherwise, only the file association with the facet will be removed.)

Default JPA Provider For JPA: When persistence.xml is created, this setting affects the <provider> element in that file. For example, <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider> will be generated for EclipseLink. There will be no <provider> element if <no provider> is selected.
Fix If there are missing libraries, click this button to fix the problem. (The Setup Library dialog will open.)

See Also

Last modified: 4 December 2014
comments powered by Disqus