mapper CDATA
时间: 2023-10-18 15:31:16 浏览: 108
在XML中,CDATA是用来标记文本数据,告诉解析器不要对其中的特殊字符进行解析。在mapper文件中,如果遇到特殊字符需要使用CDATA标记来注释,以避免解析器对其进行解析。这样可以确保特殊字符被正确处理。 <span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [mapper中的CDATA标签的用法](https://blog.csdn.net/weixin_34244102/article/details/85936191)[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^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [Mybatis | 的Mapper.xml 中 CDATA 的作用](https://blog.csdn.net/fragrant_no1/article/details/83375312)[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^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文