HP Integrity NonStop H-Series User Manual
Page 390

Example of Integrating Hibernate into Spring 9
2.
Modify the bean instance of the
EmployeeDao
class to add the reference of the Hibernate
SessionFactory, as shown:
After modification, the
applicationContext.xml
file should appear as:
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
destroy-method="close">
${jdbc.catalog}
${jdbc.schema}
390
Integrating Hibernate into Spring