beautypg.com

HP Integrity NonStop J-Series User Manual

Page 193

background image

1.

Create a bean for the class org.hibernate.dialect.SqlmxInterceptor and inject
applyBrowseAccessTo

property with the Regex Patterns in the bean definition file.

For example:

class="org.hibernate.dialect.SqlmxInterceptor">


select.*


2.

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

class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">



hibernate.connection.url= .............
hibernate.connection.driver_class= .......
hibernate.connection.username= ..........
.....
.....
.....


Enabling Browse Access

193

This manual is related to the following products: