(no commit message)
[utils] / security / usermgt / src / test / resources / spring / test.org.wamblee.security.datasource.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     xsi:schemaLocation="http://www.springframework.org/schema/beans
5     http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
6
7     <!-- This is the Spring configuration to define the database-related stuff for the
8     all persistence tests.  -->
9     <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
10         <!-- driver classname no longer needed because ServiceLoader is used these days
11         <property name="driverClassName">
12             <value>${database.driver}</value>
13         </property>
14         --> 
15         <property name="url">
16             <value>${database.url}</value>
17         </property>
18         <property name="username">
19             <value>${database.username}</value>
20         </property>
21         <property name="password">
22             <value>${database.password}</value>
23         </property>
24     </bean>
25 </beans>