You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.7 KiB
35 lines
1.7 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
|
|
|
|
<import resource="applicationContext-db-jndi.xml" />
|
|
<import resource="applicationContext-db-embed.xml" />
|
|
<import resource="applicationContext-db-legacy.xml" />
|
|
|
|
<bean id="daoHelper" class="org.libresonic.player.dao.GenericDaoHelper">
|
|
<constructor-arg name="dataSource" ref="dataSource" />
|
|
</bean>
|
|
|
|
<bean id="rollbackFile" class="java.io.File">
|
|
<constructor-arg type="java.io.File" index="0" value="#{T(org.libresonic.player.service.SettingsService).libresonicHome}" />
|
|
<constructor-arg type="java.lang.String" index="1" value="rollback.sql" />
|
|
</bean>
|
|
|
|
<bean id="userTableQuote" class="java.lang.String">
|
|
<constructor-arg value="${database.usertable.quote:}" />
|
|
</bean>
|
|
|
|
<bean id="liquibase" class="org.libresonic.player.spring.SpringLiquibase">
|
|
<property name="dataSource" ref="dataSource" />
|
|
<property name="changeLog" value="classpath:liquibase/db-changelog.xml" />
|
|
<property name="rollbackFile" ref="rollbackFile" />
|
|
<property name="changeLogParameters">
|
|
<map>
|
|
<entry key="defaultMusicFolder" value="#{T(org.libresonic.player.util.Util).getDefaultMusicFolder()}" />
|
|
<entry key="varcharLimit" value="${database.varchar.maxlength:512}" />
|
|
<entry key="userTableQuote" value-ref="userTableQuote" />
|
|
</map>
|
|
</property>
|
|
</bean>
|
|
</beans> |