<?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-2.5.xsd"
 >
   <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource">
        <property name="username" value="root"/>
        <property name="password"  value="root"/>
        <property name="url" value="jdbc:mysql://localhost:3306/club?useUnicode=true&amp;characterEncoding=UTF-8"/>
        <property name="driverClassName" value="com.mysql.jdbc.Driver"/>
        <property name="maxActive" value="30"/>
        <property name="maxWait" value="3000"/>
        <property name="maxIdle" value="50"/>
        <property name="minIdle" value="10"/>
   </bean>

    <!--mybatis 二级缓存-->

    <!-- mybatis 一级缓存-->

    <!-- 扫描注解 -->

 </beans>