15 lines
568 B
XML
15 lines
568 B
XML
<?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>
|
||
<!-- 二级缓存,默认false -->
|
||
<setting name="cacheEnabled" value="true"/>
|
||
</settings>
|
||
<typeAliases>
|
||
<typeAlias type="java.util.Map" alias="map"/>
|
||
<typeAlias type="java.util.List" alias="list"/>
|
||
</typeAliases>
|
||
<plugins>
|
||
<plugin interceptor="com.github.pagehelper.PageInterceptor"></plugin>
|
||
</plugins>
|
||
</configuration> |