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

[LMS-1578] spring injection

SVN: 16396
parent f4fe8360
No related merge requests found
......@@ -109,10 +109,11 @@
<prop key="hibernate.search.indexing_strategy">manual</prop>
-->
<!-- Uncomment this for debugging the Hibernate sql queries
<prop key="hibernate.show_sql">true</prop>
<prop key="hibernate.format_sql">true</prop>
<prop key="hibernate.use_sql_comments">true</prop>
-->
<prop key="hibernate.show_sql">true</prop>
<prop key="hibernate.use_sql_comments">true</prop>
<prop key="hibernate.format_sql">true</prop>
-->
</props>
</property>
<property name="lobHandler">
......@@ -134,10 +135,17 @@
<property name="batchSize" value="${hibernate.search.batch-size}" />
</bean>
<bean id="full-text-index-updater"
class="ch.systemsx.cisd.openbis.generic.server.dataaccess.db.search.FullTextIndexUpdater">
<constructor-arg ref="hibernate-session-factory" />
<constructor-arg ref="hibernate-search-context" />
</bean>
<bean id="full-text-indexer"
class="ch.systemsx.cisd.openbis.generic.server.dataaccess.db.search.FullTextIndexerRunnable">
<constructor-arg ref="hibernate-session-factory" />
<constructor-arg ref="hibernate-search-context" />
<constructor-arg ref="full-text-index-updater" />
</bean>
<bean class="org.springframework.scheduling.timer.TimerFactoryBean">
......
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