mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
[DS-3694] Replace an inappropriate system property with a local Hibernate/EHCache property
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user