1. <!DOCTYPE configuration
    2. PUBLIC "-//mybatis.org//DTD Config 3.0//EN"
    3. "http://mybatis.org/dtd/mybatis-3-config.dtd">
    4. <configuration>
    5. <environments default="development">
    6. <transactionManager type="JDBC"/>
    7. <dataSource type="POOLED">
    8. <property name="driver" value="${driver}"/>
    9. <property name="url" value="${url}"/>
    10. <property name="username" value="${username}"/>
    11. </environment>
    12. </environments>
    13. <mappers>
    14. <mapper resource="org/mybatis/example/BlogMapper.xml"/>
    15. </configuration>