I have a util class LobCleanUpInterceptor which implements a interceptor and has methods to free temporary Large Objects.
http://www.hibernate.org/56.html
How do I set up the interceptor in the application context.xml?
<!-- hibernate session factory -->
<bean id="mySessionFactory" class="org.springframework.orm.hibernate.LocalSess ionFactoryBean">
<property name="mappingResources"></>
<property name="entityInterceptor">
<ref local="lobCleanUpInterceptor"/>
</property>
does not work..
Any help is appreciated.


Reply With Quote