<bean
  class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
  <property name="systemPropertiesModeName" value="SYSTEM_PROPERTIES_MODE_OVERRIDE" />
  <property name="ignoreResourceNotFound" value="false" />
  <property name="ignoreUnresolvablePlaceholders" value="true" />
  <property name="locations">
   <list>
    <value>classpath:testapplication/config.properties</value>
   </list>
  </property>
 </bean>

 <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource"
  destroy-method="close">
  <property name="driverClassName">
   <value>${jdbc.driverClassName}</value>
  </property>
  <property name="url">
   <value>${jdbc.url}</value>
  </property>
  <property name="username">
   <value>${jdbc.username}</value>
  </property>
  <property name="password">
   <value>${jdbc.password}</value>
  </property>
  <property name="maxActive">
   <value>${jdbc.maxActive}</value>
  </property>
  <property name="maxIdle">
   <value>${jdbc.maxIdle}</value>
  </property>
  <property name="initialSize">
   <value>${jdbc.maxIdle}</value>
  </property>
  <property name="maxWait">
   <value>18000</value>
  </property>
  <property name="defaultAutoCommit">
   <value>false</value>
  </property>
 </bean>
 <!-- ????????????????????????? -->
 <bean id="transactionManager"
  class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
  <property name="dataSource" ref="dataSource" />
 </bean>
 
????????????????????????Spring???ó??????????????????????????????????????ü???????????????????????????????????????ж??????????????????????

??????2?????Unitils??Spring????滻???????Spring?е???????DataSource???Unitils?????DataSource???????????????????????????????sql??????????н??У???????????????????????????????滻??DataSource??????Spring????????????test/resources/testapplication/testDataSource.xml?С?

????Java????