Open in new window

back

The Hibernate Configuration File Wizard

  1. 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.

    hibernateConnection

  2. On the next screen you can select the Hibernate dialect and some other properties.

    hibernateConnection

  3. Click "Next". Here you can select the connection type.

    hibernateConnection

  4. 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.

    hibernateConnection

    And select properties of JDBC connection pooling:

    hibernateConnection

    If you have selected "Configure Hibernate to run in managed environment", you can on this screen select properties:

    hibernateConnection

    If you have selected "Specify a custom connection provider", you can on this screen specify connection provider class:

    hibernateConnection

  5. Click "Finish" to save changes.

back