HP Integrity NonStop J-Series User Manual

Page 117

Advertising
background image

2.

In the SessionFactory bean, inject the entityInterceptor property with the bean
created in the previous step. For example:

<bean id="mySessionFactory"
class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
<property name="entityInterceptor" ref="Interceptor" />
<property name="hibernateProperties">
<value>
hibernate.connection.url= .............
hibernate.connection.driver_class= .......
hibernate.connection.username= ..........
.....
.....
.....
</value>
</property>
</bean>

Configuring Hibernate Applications on NonStop Systems

117

Advertising
This manual is related to the following products: