Open Source Java Frameworks on NonStop User's Guide (Spring 2.5.0, Hibernate 3.2.6, MyFaces 1.2.5, Axis2/Java 1.4.1)

Figure 17-11 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.
To create the Employee.hbm.xml file in the EmployeeInfo/src directory, complete the
following steps:
1. On 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.
Figure 17-12 shows the New dialog box.
342 Getting Started with Hibernate