mybatis 驼峰
时间: 2023-08-27 07:12:39 浏览: 120
MyBatis中的驼峰命名映射是通过在配置文件中开启驼峰映射来实现的。可以在application.yml文件中的mybatis配置下添加mapUnderscoreToCamelCase: true来开启驼峰映射。此外,MyBatis-Plus默认也开启了驼峰命名映射。<em>1</em><em>2</em><em>3</em>
#### 引用[.reference_title]
- *1* [mybatis详解+驼峰映射](https://blog.csdn.net/HezhezhiyuLe/article/details/86511495)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}} ] [.reference_item]
- *2* [Mybatis/Mybatis-Plus驼峰式命名映射](https://blog.csdn.net/A1916403680/article/details/127162166)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}} ] [.reference_item]
- *3* [Mybatis框架——快速入门](https://blog.csdn.net/select_myname/article/details/127335568)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}} ] [.reference_item]
[ .reference_list ]
阅读全文