beautypg.com

Setting hibernate configurations, Hibernate.cfg.xml – HP Integrity NonStop H-Series User Manual

Page 345

background image

NOTE:

The generator class for tag <

id

> is mentioned as increment. This is to use the

auto-increment feature of Hibernate.

Setting Hibernate Configurations

To set up Hibernate configurations, create the following files:

hibernate.cfg.xml

hibernate.properties

hibernate.cfg.xml

Hibernate uses the

hibernate.cfg.xml

file to set up the environment.

To create and modify

hibernate.cfg.xml

, complete the following steps:

Overview of EmpIoyeeInfo

345

This manual is related to the following products: