Removing the employeerowmapper.java file – HP Integrity NonStop J-Series User Manual
Page 245
![background image](/manuals/397993/245/background.png)
Figure 110 New XML File: Create XML Dialog Box
The Employee.hbm.xml file is created in the EmpInfo/src directory.
5.
Modify the Employee.hbm.xml file to add the mapping details. The Employee.hbm.xml
file must appear as:
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
Removing the EmployeeRowMapper.java File
The EmpInfo application uses the EmployeeRowMapper.java class for mapping various database
table entities. Because Hibernate maps database table entities using the Hibernate mapping file
(.hbm file), the EmpInfo application will no longer use the EmployeeRowMapper.java file for
Integrating Hibernate into Spring 245
This manual is related to the following products: