Skip to content
Snippets Groups Projects
Commit 117ca309 authored by buczekp's avatar buczekp
Browse files

[LMS-1039] added interceptor to hibernate configuration

SVN: 11904
parent 785b3371
No related branches found
No related tags found
No related merge requests found
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
<property name="hibernateProperties"> <property name="hibernateProperties">
<props> <props>
<!-- Set this to "true" in order to enable the second-level cache. --> <!-- Set this to "true" in order to enable the second-level cache. -->
<prop key="hibernate.cache.use_second_level_cache">false</prop> <prop key="hibernate.cache.use_second_level_cache">false</prop>
<prop key="hibernate.cache.provider_class"> <prop key="hibernate.cache.provider_class">
org.hibernate.cache.EhCacheProvider org.hibernate.cache.EhCacheProvider
</prop> </prop>
...@@ -113,6 +113,9 @@ ...@@ -113,6 +113,9 @@
<property name="lobHandler"> <property name="lobHandler">
<bean class="org.springframework.jdbc.support.lob.DefaultLobHandler" /> <bean class="org.springframework.jdbc.support.lob.DefaultLobHandler" />
</property> </property>
<property name="entityInterceptor">
<bean class="ch.systemsx.cisd.openbis.generic.server.dataaccess.db.LockSampleModificationsInterceptor"/>
</property>
</bean> </bean>
<!-- <!--
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment