mybatis:
mapper-locations: classpath:mapper/**/*.xml
configuration:
#允许使用自定义的主键值(比如由程序生成的UUID 32位编码作为键值), 数据表的pk生成策略将被覆盖
# use-generated-keys: true
#启动结果集自动映射(NONE、PARTIAL、FULL)
auto-mapping-behavior: partial
#驼峰映射
map-underscore-to-camel-case: true
springcloud中的yml中的mybatis配置
最新推荐文章于 2023-06-15 00:11:18 发布