[DS-3694] Replace an inappropriate system property with a local Hibernate/EHCache property

This commit is contained in:
Mark H. Wood
2018-01-30 11:50:34 -05:00
parent 033b023b81
commit b1742340c3

View File

@@ -17,21 +17,13 @@
<props>
<prop key="hibernate.dialect">${db.dialect}</prop>
<prop key="hibernate.default_schema">${db.schema}</prop>
<prop key='net.sf.ehcache.configurationResourceName'>
file:${dspace.dir}/config/hibernate-ehcache-config.xml
</prop>
</props>
</property>
</bean>
<bean class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
<property name="targetClass" value="java.lang.System" />
<property name="targetMethod" value="setProperty" />
<property name="arguments">
<list>
<value>net.sf.ehcache.configurationResourceName</value>
<value>file:${dspace.dir}/config/hibernate-ehcache-config.xml</value>
</list>
</property>
</bean>
<bean id='dataSource'
class='org.springframework.jndi.JndiObjectFactoryBean'>
<description>