Blame view

parking-module-system/src/main/resources/mybatis/mybatis-plugin-sys.xml 1.06 KB
55f68655   王彪总   新项目
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
  <?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="mapUnderscoreToCamelCase" value="true"/>
  
          <setting name="cacheEnabled" value="false"/>
          <!-- 禁用一级缓存 -->
          <setting name="localCacheScope" value="STATEMENT"/>
          <setting name="lazyLoadingEnabled" value="false"/>
          <setting name="multipleResultSetsEnabled" value="true"/>
          <setting name="useColumnLabel" value="true"/>
          <setting name="useGeneratedKeys" value="true"/>
          <setting name="autoMappingBehavior" value="PARTIAL"/>
          <setting name="defaultExecutorType" value="SIMPLE"/>
          <setting name="defaultStatementTimeout" value="60"/>
      </settings>
  
      <plugins>
          <!-- com.github.pagehelper为PageHelper类所在包名 -->
          <plugin interceptor="com.github.pagehelper.PageInterceptor">
          </plugin>
      </plugins>
  </configuration>