The Hibernate Configuration File Wizard
- If you want to edit the Hibernate configuration, right-click the configuration file node under the project node in the ORM Explorer (typically,
src/hibernate.cfg.xml) and select Edit Hibernate Configuration... from the context menu.
-
On the next screen you can select the Hibernate dialect and some other properties.
-
Click "Next". Here you can select the connection type.
-
If you have selected "Configure Hibernate to run in non-managed environments", on this screen you can set parameters JDBC connection which will be kept in a file of a configuration.
And select properties of JDBC connection pooling:
If you have selected "Configure Hibernate to run in managed environment", you can on this screen select properties:
If you have selected "Specify a custom connection provider", you can on this screen specify connection provider class:
-
Click "Finish" to save changes.