class="org.springframework.beans.factory.config.PropertiesFactoryBean">\r
<property name="properties">\r
<props>\r
- <prop key="hibernate.cache.provider_class">org.hibernate.cache.NoCacheProvider</prop>\r
+ <prop key="hibernate.cache.region.factory_class">org.hibernate.cache.internal.NoCachingRegionFactory</prop>\r
<prop key="hibernate.show_sql">false</prop>\r
<prop key="hibernate.format_sql">false</prop>\r
- <prop key="hibernate.search.default.directory_provider">org.hibernate.search.store.FSDirectoryProvider</prop>\r
+ <prop key="hibernate.search.default.directory_provider">org.hibernate.search.store.impl.FSDirectoryProvider</prop>\r
+ <!-- hibernate.search.default.exclusive_index_use=false\r
+ locks must not only be released after application shutdown in test environment -->\r
+ <prop key="hibernate.search.default.exclusive_index_use">false</prop>\r
<prop key="hibernate.search.default.indexBase">./target/index</prop>\r
</props>\r
</property>\r
<props>\r
<!-- globally overriding id generation settings see: eu.etaxonomy.cdm.persistence.hibernate.TableGenerator -->\r
<prop key="optimizer">none</prop>\r
- <prop key="initial_value">3000</prop>\r
+ <prop key="initial_value">5000</prop><!-- must be higher than any term id in TermsDataSet.xml -->\r
</props>\r
</property>\r
</bean>\r
\r
\r
- <bean id="taxonSpellingDirectory" class="org.springmodules.lucene.index.support.FSDirectoryFactoryBean">\r
+<!-- <bean id="taxonSpellingDirectory" class="org.springmodules.lucene.index.support.FSDirectoryFactoryBean">\r
<property name="location" value="file:./target/test-classes/eu.etaxonomy.cdm.model.taxon.TaxonBase_spelling"/>\r
<property name="create" value="true"/>\r
</bean>\r
<property name="analyzer">\r
<bean class="org.apache.lucene.analysis.SimpleAnalyzer"/>\r
</property>\r
- </bean>\r
+ </bean> -->\r
\r
<bean id="authenticationManager" class="org.springframework.security.authentication.ProviderManager">\r
<property name="providers">\r