mybatis学习 -每天一记(驼峰命名匹配)

在mybatis 中,数据库表有一个与之对应的实体类.类属性的命名是驼峰命名的,所以在mybatis中要开启驼峰匹配,

在spring boot 的项目中,至需要在yml文件中配置

即可.

当然也有其他方案.

https://blog.csdn.net/lulidaitian/article/details/70941769

原文地址:https://www.cnblogs.com/lovehunterYjj/p/9394113.html