# Hibernate Configuration Wizard: Select Data Source

Use to create a Hibernate configuration file based on a data source that is registered with the IDE. The Hibernate configuration file contains the database connection details enabling the application to connect to a database and information about the location of Hibernate mapping files.

In this panel of the wizard you specify the following item.

Element | Description
--- | ---
Database Connection | Select a connection from the Database Connection drop-down list. You can select an existing, registered connection or select New Database Connection in the drop-down list to open the New Database Connection wizard.

After you create the configuration file you can edit the file in the XML editor if you need to change the database connection details. You can have multiple Hibernate configuration files, but the default name for the configuration file used by Hibernate is `hibernate.cfg.xml`.

Related Topics

Developing Applications with NetBeans IDE,

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.