# Hibernate Mapping Wizard: Select Mapping Class

Use to specify the class that you want to map, the Hibernate configuration file and the table that you want to map to the class.

You must have the following to complete this wizard:

- Database connection for the database that is registered with the IDE (database must be running).
- Hibernate configuration file that is named `hibernate.cfg.xml`.

In this page you specify the following details:

Element | Description
--- | ---
Class to Map | Type the name of the class you want to map or click the Browse button to locate the class.
Configuration File | Select the `hibernate.cfg.xml` configuration file in the dropdown list (if not already selected).
Database Table | Select the database table that you want to map to the selected class.

When you click Finish, the IDE generates the mapping file and adds the `<mapping resource>` element to the `hibernate.cfg.xml` configuration file.

Related Topics

Developing Applications with NetBeans IDE,

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