mybatis转义符
时间: 2023-10-21 20:05:34 浏览: 84
在MyBatis中,需要进行转义的字符包括大于号(>)、小于号(<)、等于号(=)以及大于等于号(>=)和小于等于号(<=)。这是因为在MyBatis的映射文件中,如果直接写这些特殊字符,会导致解析错误。为了避免这种情况,需要使用转义符来表示这些字符。具体的转义符如下所示:引用<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [Mybatis中的转义符号的用法](https://blog.csdn.net/m0_56658629/article/details/127640141)[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* [Mybatis 中的转义字符用法及说明](https://blog.csdn.net/csdnlaiyanqi/article/details/123900466)[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 ]
阅读全文