beautypg.com

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

Page 342

background image

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

This manual is related to the following products: