forked from aofeng/JavaTutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmybatis-config.xml
More file actions
20 lines (20 loc) · 796 Bytes
/
mybatis-config.xml
File metadata and controls
20 lines (20 loc) · 796 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE configuration
PUBLIC "-//mybatis.org//DTD Config 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-config.dtd">
<configuration>
<environments default="development">
<environment id="development">
<transactionManager type="JDBC"/>
<dataSource type="POOLED">
<property name="driver" value="com.mysql.jdbc.Driver"/>
<property name="url" value="jdbc:mysql://192.168.56.102:19816/ucgc_monit?useUnicode=true&characterEncoding=UTF8"/>
<property name="username" value="uzone"/>
<property name="password" value="uzone"/>
</dataSource>
</environment>
</environments>
<mappers>
<mapper resource="cn/aofeng/demo/mybatis/mapper/MonitNotifyHistoryMapper.xml"/>
</mappers>
</configuration>