添加允许驼峰命名配置
mybatis:
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
map-underscore-to-camel-case: true
这篇博客介绍了如何在Mybatis配置中启用驼峰命名规则,通过设置`map-underscore-to-camel-case`为`true`,实现数据库字段与Java对象属性之间的映射转换,便于开发工作。
添加允许驼峰命名配置
mybatis:
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
map-underscore-to-camel-case: true

被折叠的 条评论
为什么被折叠?