Generating Hibernate mapping files

The Hibernate Designer module provides services for generating the following Hibernate files:

  • The hibernate.cfg.xml file: Hibernate configuration file notably containing information on database connection and the list of mapping files for each persistent class.

  • A mapping file for each class of the persistence model: grouping the information necessary to the set-up of Object/Relational mapping between the Java classes of the data model and the SQL database.

Commands
  • Check:
    This command is available on an Element of the Persistence profile.
    Checks the Hibernate persistence model.
  • Hibernate generation:
    This command is available on an Element of the Persistence profile.
    Generates the Hibernate configuration file and mapping files.

check1.gif (1.01 KB) admin admin, 15 December 2015 09:45

hibernate_generate.gif (985 Bytes) admin admin, 15 December 2015 09:45