ORA-00917: 缺失逗号 一个小错误恶心了我一个小时

来源:互联网 发布:c 利用java公钥加密 编辑:程序博客网 时间:2024/04/30 20:47

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

    博客分类:
  • java
iBATISSQLJava 

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>


原创粉丝点击