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">
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>
16 <value>${database.url}</value>
18 <property name="username">
19 <value>${database.username}</value>
21 <property name="password">
22 <value>${database.password}</value>