1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE configuration
3 PUBLIC "-//mybatis.org//DTD Config 3.0//EN"
4 "http://mybatis.org/dtd/mybatis-3-config.dtd">
5
6 <configuration>
7 <properties resource="db.properties"></properties>
8 <typeAliases>
9 <package name="com.ygm.aa.daomain"/>
10 </typeAliases>
11 <environments default="dev">
12 <environment id="dev">
13 <transactionManager type="jdbc"></transactionManager>
14 <dataSource type="POOLED">
15 <property name="driver" value="${driverclass}"/>
16 <property name="url" value="${url}"/>
17 <property name="username" value="${uname}"/>
18 <property name="password" value="${upass}"/>
19
20 </dataSource>
21 </environment>
22 </environments>
23
24 <mappers>
25 <mapper resource="com\ygm\aa\mapper\mapper.xml"/>
26 </mappers>
27 </configuration>