Mybatis Mapper.xml中sql特殊字符处理
1、在mybatis的Mapper.xml的sql语句中,不能直接用大于号、小于号要用转义字符
如果用小于号会报错误如下:
org.apache.ibatis.builder.BuilderException: Error creating document instance. Cause: org.xml.sax.SAXParseException: The content of eleme
原创
2017-04-07 15:34:25 ·
2610 阅读 ·
1 评论