Creating the hibernate mapping file – HP Integrity NonStop J-Series User Manual

Page 134

Advertising
background image

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

Advertising
This manual is related to the following products: