您的位置:首页 > 运维架构

Ibatis - Open quote is expected for attribute "{1}" associated with an element type '

2012-04-11 15:32 495 查看
昨天晚上提交的代码,今天运行起来,始终报错:

Open quote is expected for attribute "{1}" associated with an element type 'id',查了半天,觉得很奇怪。

回滚到昨天的代码,运行正常。经过compare代码,发现自己将ibatis配置文件App.xml的修改为了, 真是晕倒。不经意的笔误,害自己查了一个上午。

<delete id=delete>
<![CDATA[
DELETE FROM app WHERE
id = #id#
]]>
</delete>

正确的为如下:

<delete id="delete">
<![CDATA[
DELETE FROM app WHERE
id = #id#
]]>
</delete>

靠...
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  职场 ibatis 休闲
相关文章推荐