2dfccf03a3bf675d8eb9e38ff867464d783e795b
[cdmlib.git] / cdmlib-persistence / src / test / resources / eu / etaxonomy / cdm / applicationContext-test.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <beans xmlns="http://www.springframework.org/schema/beans"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xmlns:context="http://www.springframework.org/schema/context"
5 xmlns:tx="http://www.springframework.org/schema/tx"
6 xsi:schemaLocation="http://www.springframework.org/schema/beans
7 http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
8 http://www.springframework.org/schema/context
9 http://www.springframework.org/schema/context/spring-context-2.5.xsd
10 http://www.springframework.org/schema/tx
11 http://www.springframework.org/schema/tx/spring-tx-2.5.xsd">
12
13 <bean id="dataSource" class="org.unitils.database.UnitilsDataSourceFactoryBean"/>
14
15 <bean id="hibernateProperties"
16 class="org.springframework.beans.factory.config.PropertiesFactoryBean">
17 <property name="properties">
18 <props>
19 <prop key="hibernate.dialect">eu.etaxonomy.cdm.test.integration.HSQLDialect</prop>
20 <prop key="hibernate.cache.provider_class">org.hibernate.cache.NoCacheProvider</prop>
21 <prop key="hibernate.show_sql">false</prop>
22 <prop key="hibernate.format_sql">false</prop>
23 </props>
24 </property>
25 </bean>
26
27 <import resource="classpath:/eu/etaxonomy/cdm/persistence.xml"/>
28 </beans>