您的位置:首页 > 编程语言 > Java开发

spring boot 整合mybatis如何开启开启驼峰命名转换

2018-01-12 13:13 453 查看
在spring boot的配置文件application.properties中,

加入配置项:

1、 mybatis.configuration.mapUnderscoreToCamelCase=true
2 、引入配置文件
3 、mybatis.configuration.map-underscore-to-camel-case=true
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  spring mybatis