Manual
</class>
</hibernate-mapping>
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