Invalid bound statement (not found): Invalid bound statement (not found):
时间: 2023-08-27 09:17:33 浏览: 207
Invalid bound statement (not found)异常的原因是statement与映射文件中的Sql语句不匹配。这个异常一般是由于使用Mapper动态代理时发生的。Mapper动态代理的实现原理是通过statement来确定映射文件中的Sql语句,如果找不到对应的Sql语句,就会报这个错误。解决该异常的方法就是检查是否使用了正确的statement来绑定映射文件中的Sql语句。确保statement与映射文件中定义的Sql语句一致即可解决这个问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [Invalid bound statement (not found)](https://blog.csdn.net/keyboard_/article/details/127830039)[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 style="max-width: 100%"]
[ .reference_list ]
阅读全文