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

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>

你可能感兴趣的:(java,sql,ibatis)