Hibernate Mapping Files and POJOs Wizard: Generation of Code

See Also

The Hibernate Mapping Files and POJOs from Database wizard enables you to specify tables in a database and generate mapping files and POJOs based on the database tables. If you do not want to use the Hibernate mapping files, the wizard gives you the option of creating classes that use annotations for the mapping information. You can also choose to generate only the Hibernate mapping files.

The Generation of Code page of the wizard enables you to specify the options for generating the mapping files and POJOs.

In this page you can specify the following options:

When you click Finish, the IDE generates the files you selected in the Code Generation Settings. The IDE also generates the hibernate.reveng reverse engineering file in the location you specified in the first page of the wizard. The hibernate.reveng is not necessary for compiling your project and can be deleted if desired.

See Also
Generating Hibernate Mapping Files and POJOs from a Database
Working with Hibernate
Creating the Hibernate Configuration File
About Hibernate Support
Connecting to a Database

Legal Notices