User Manual

Figure 43 EmployeeInfo Project Dialog Box
Creating the Hibernate Mapping File
The Hibernate mapping file (.hbm) maps the employee objects to their respective columns in the
SQL/MX database tables.
Create the Employee.hbm.xml file in the EmployeeInfo/src directory as follows:
1. In the Project Explorer frame, right-click EmployeeInfo and select New > Other.
The New dialog box appears.
2. From the list of folders, select XML > XML and click Next.
134 Hibernate Framework