本帖最后由 james_zhw 于 2009-08-28 15:41:32 编辑

解决方案 »

  1.   

    用ibatis的人很少啊,没人帮我解决嘛!!!
      

  2.   

    <parameter property="totalCount" javaType="java.lang.Integer" jdbcType="INT" mode="OUT"/>
    String total = null;
    total = (String)map.get("totalCount");
    @RecordCount int output  --表的记录总数没有看到错误信息猜猜你传入的是String,返回的是int...
      

  3.   

    String total = null; map.put("totalCount", total);@RecordCount int output  --表的记录总数就是这里的问题,castexception你把map.get("totalCount")拿出对象看看,应该不是string对象。
      

  4.   

    proList = (ArrayList<MarketPro>) sqlMapClient.queryForList("selectAllProgram",map);
    这里好像有问题,把标红的改成insert或者update试试看。
      

  5.   

    终于搞定了,楼主试试以下的:
    <procedure id="selectAllProgram" parameterMap="etParameter" resultMap="xxxxx">
          <![CDATA[{call dbo.sp_GetPageRecord(?,?,?,?,?,?,?)}]]>
    </procedure>
      

  6.   


    <procedure id="selectAllProgram" parameterMap="etParameter" resultMap="xxxxx">
          <![CDATA[{call dbo.sp_GetPageRecord(?,?,?,?,?,?,?)}]]>
    </procedure>