mybatis调用无参存储过程 5
<selectid="dataStat"statementType="CALLABLE">callproc_stat()</select>org.mybatis.spri...
<select id="dataStat" statementType="CALLABLE">
call proc_stat()
</select>
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps were found for the Mapped Statement 'com.b2b.mapper.StatMapper.insertStat'. It's likely that neither a Result Type nor a Result Map was specified.
存储过程为自动插入数据,并无返回结果,也没有输入输出参数,但是执行报错,存储过程已经执行了 展开
call proc_stat()
</select>
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps were found for the Mapped Statement 'com.b2b.mapper.StatMapper.insertStat'. It's likely that neither a Result Type nor a Result Map was specified.
存储过程为自动插入数据,并无返回结果,也没有输入输出参数,但是执行报错,存储过程已经执行了 展开
2016-01-20 · 知道合伙人软件行家
关注
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询