解决方案 »

  1.   

    getSqlMapClientTemplate().update配置文件里没有,可是这个业务类是有返回值的。
      

  2.   


    你的头像太搞笑了!
    session.update方法不是返回一个int值吗!
      

  3.   

    不用配置 resultType.
    默认调用就会返回的。
    参考
      

  4.   

    <update id="updateHome" parameterType="home">
    update home set homeName=#{homeName},homeAddress=#{homeAddress},homePrice=#{homePrice}
    where homeId=#{homeId}
    </update>
    id是方法名字 parameterType是参数 
      

  5.   

    不需要配置update和delete,insert的返回类型,默认返回int
    <update id="update" parameterType="string">
    对应的mapper
    public int update(String);
      

  6.   

    求帮助 http://bbs.csdn.net/topics/390797939?page=1#post-397461517