Mybatis 异常: The content of elements must consist of well-formed character data or markup
2014-03-19 13:08
423 查看
今天写了一个SQL语句,放入工程
SELECT *
FROM GR_EDUCATION_BACKGROUND
WHERE SYSDATE - decode(eb_end_date, null, sysdate, EB_END_DATE) < 730
结果报错,The content of elements must consist of well-formed character data or markup,查了很多,结果发现,貌似mybatis不能有小于号,把代码更换成
SELECT *
FROM GR_EDUCATION_BACKGROUND
WHERE 730 > SYSDATE - decode(eb_end_date, null, sysdate, EB_END_DATE)
结果错误就很神奇的消失了。。。。。
SELECT *
FROM GR_EDUCATION_BACKGROUND
WHERE SYSDATE - decode(eb_end_date, null, sysdate, EB_END_DATE) < 730
结果报错,The content of elements must consist of well-formed character data or markup,查了很多,结果发现,貌似mybatis不能有小于号,把代码更换成
SELECT *
FROM GR_EDUCATION_BACKGROUND
WHERE 730 > SYSDATE - decode(eb_end_date, null, sysdate, EB_END_DATE)
结果错误就很神奇的消失了。。。。。
相关文章推荐
- Mybatis 异常: The content of elements must consist of well-formed character data or markup
- mybatis异常:The content of elements must consist of well-formed character data or markup.
- Mybatis 异常: The content of elements must consist of well-formed character data or markup
- Mybatis 异常: The content of elements must consist of well-formed character data or markup
- Mybatis 异常: The content of elements must consist of well-formed character data or markup
- ibatiS启动的异常 The content of elements must consist of well-formed character data or markup
- mybatis 提示The content of elements must consist of well-formed character data or markup
- ibatiS启动的异常 The content of elements must consist of well-formed character data or markup
- mybatis 提示The content of elements must consist of well-formed character data or markup
- MyBatis报错:The content of elements must consist of well-formed character data or markup.
- mybatis在xml中处理大于号,解决The content of elements must consist of well-formed character data or markup
- mybatis:The content of elements must consist of well-formed character data or markup
- mybatis的xml配置文件出现The content of elements must consist of well-formed character data or markup.
- Mybatis xml报错: The content of elements must consist of well-formed character data or markup
- 【iBATIS】The content of elements must consist of well-formed character data or markup
- ibatis遇到错误:The content of elements must consist of well-formed character data or markup
- The content of elements must consist of well-formed character data or markup.
- The content of elements must consist of well-formed character data or markup
- The content of elements must consist of well-formed character data or markup 或 The value of attribu
- The content of elements must consist of well-formed character data or markup