`
cherryQQ
  • 浏览: 1125851 次
  • 性别: Icon_minigender_1
  • 来自: 厦门
社区版块
存档分类
最新评论

ibatis Cause: java.sql.SQLException: ORA-00917: 缺失逗号

    博客分类:
  • java
阅读更多

ibatis Cause: java.sql.SQLException: ORA-00917: 缺失逗号  

 

 

 经过查找发现少了个红色的“)”

 

  <insert id="insertParty" parameterClass="Party">
    <selectKey resultClass="int" type="pre" keyProperty="partyId" >     
        SELECT crm.seq_party.nextval  AS value FROM DUAL     
    </selectKey>
 
    insert into Party (
      partyId,
      p_Name,
      areaCode,
      addressName,
      p_descripon,
      note
    )values (
      #partyId#, #p_Name#, #areaCode#, #addressName#,#p_descripon#,#note#
    )
  </insert>

分享到:
评论
2 楼 cherryQQ 2013-07-25  
qq543123909 写道
  同样的遭遇 坑爹啊

呵呵,熟悉了,就好了

1 楼 qq543123909 2013-07-24  
  同样的遭遇 坑爹啊

相关推荐

Global site tag (gtag.js) - Google Analytics