Adding Hibernate Capabilities to a Project
Making a project Hibernate-enabled is very straight-forward in Exadel Studio. Adding Hibernate capability to a project will add all the required libraries to the project.
- If you want to add a new Hibernate nature to a project, right-click the
project and select Exadel Studio/Add Hibernate Capabilities... from the context menu.
-
On the next screen, you can select a name for the appropriate Hibernate dialect.
-
Next, you can select a connection type.

-
If you select the "Configure Hibernate to run in non-managed environments" option, you will need to fill in connection URL details and user information.

Then, you will need to select the properties for JDBC connection pooling.

-
If you select the "Configure Hibernate to run in managed environments" option, you can then select properties.

-
If you select the "Specify a custom connection provider" option, you can then specify a custom connection provider class.

-
-
After clicking the Finish button, you can select a mapping approach (Schema To Object or Object To Schema) that you want to use.

After that, you can should see the ORM Explorer view. The ORM Explorer view lists all Hibernate-enabled projects. Most Hibernate features are available by right-clicking various nodes in the project tree in this view.
