md
This commit is contained in:
parent
5b45e0c44a
commit
da933d9453
@ -87,11 +87,11 @@ token:
|
||||
# mapperLocations: classpath*:mapper/**/*Mapper.xml
|
||||
# # 加载全局的配置文件
|
||||
# configLocation: classpath:mybatis/mybatis-config.xml
|
||||
# config-location: classpath:mybatis/mybatis-config.xml
|
||||
|
||||
mybatis-plus:
|
||||
type-aliases-package: com.xdadan.**.domain
|
||||
mapper-locations: classpath*:mapper/**/*Mapper.xml
|
||||
config-location: classpath:mybatis/mybatis-config.xml
|
||||
configuration:
|
||||
cache-enabled: false
|
||||
map-underscore-to-camel-case: true
|
||||
|
||||
@ -6,7 +6,7 @@ PUBLIC "-//mybatis.org//DTD Config 3.0//EN"
|
||||
<!-- 全局参数 -->
|
||||
<settings>
|
||||
<!-- 使全局的映射器启用或禁用缓存 -->
|
||||
<setting name="cacheEnabled" value="true" />
|
||||
<setting name="cacheEnabled" value="false" />
|
||||
<!-- 允许JDBC 支持自动生成主键 -->
|
||||
<setting name="useGeneratedKeys" value="true" />
|
||||
<!-- 配置默认的执行器.SIMPLE就是普通执行器;REUSE执行器会重用预处理语句(prepared statements);BATCH执行器将重用语句并执行批量更新 -->
|
||||
|
||||
Loading…
Reference in New Issue
Block a user