mybatis 大于转义
时间: 2023-08-27 18:20:32 浏览: 128
在MyBatis中,如果需要在SQL语句中使用大于符号进行比较操作,需要进行转义处理。可以使用">"来表示大于符号。这是因为在MyBatis的mapper.xml文件中,"<"、">"等字符被解析为XML标签,与SQL中的大于符号发生了冲突。所以需要使用转义字符来表示大于符号。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [mybatis转义字符(大于、小于、大于等于、小于等于)](https://blog.csdn.net/wang9979/article/details/125990538)[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: 50%"]
- *2* *3* [java MyBatis中大于和小于号的转义写法](https://blog.csdn.net/csdndys/article/details/129883495)[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: 50%"]
[ .reference_list ]
阅读全文