<?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>
|
<settings>
|
<setting name="logImpl" value="STDOUT_LOGGING"/>
|
<!--<setting name="logImpl" value="LOG4J"/>-->
|
<setting name="callSettersOnNulls" value="true" />
|
</settings>
|
|
<plugins>
|
<!--监控 sql执行时间-->
|
<plugin interceptor="com.mandi.system.utils.MybatisSqlInterceptor">
|
<property name="notifyTime" value="10" />
|
</plugin>
|
</plugins>
|
</configuration>
|