Adding Hibernate Support to a Project

See Also

The IDE provides Hibernate support for various Java-based applications, such as Java SE, EJB, and web applications. You can add Hibernate support to a project by either adding the Hibernate library to a project's classpath, or by creating a new Hibernate configuration file using the Hibernate Configuration File wizard. Along with creating the configuration file, this wizard will automatically add the Hibernate library to the classpath if it has not already been added.

To add the Hibernate library to a project classpath:

  1. In the Projects window, right-click the Libraries node and choose Add Library.
  2. In the Add Libraries dialog, select the Hibernate library and click Add Library.

The Hibernate support libraries are added to the project classpath, and they become visible from the project's Libraries node.

See Also
About Hibernate Support
Creating a Hibernate Configuration File
Editing the Hibernate Configuration File

Legal Notices